Commit Graph

67 Commits

Author SHA1 Message Date
Davide Andreoli 2c717c0aff Places: add support for edbus (v2) and some other fixes
* New  backend: UDisks(v1) using edbus(v2)
  * Fix: make the icon tag visible again ("inherit" in edc must be on top)
  * Fix: when the e_box is cleared (thus all the edje objs deleted) also update the list of objs in the Volume struct
  * Some more work on the eeze backend, still not functional
  * updated po files

SVN revision: 84511
2013-06-17 10:03:59 +01:00
Massimo Maiurana 3b86d36a57 Make some labels in Places modules translatable (patch from Igor Murzov)
SVN revision: 81480
2013-06-17 10:03:52 +01:00
Massimo Maiurana 59180d1cc8 Fix mismatching parameters for e_action_predef_name_{set,del}() (patch from Igor Murzov)
SVN revision: 81479
2013-06-17 10:03:52 +01:00
Mike Blumenkrantz e51e84d936 sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74475
2012-07-27 08:35:53 +00:00
Davide Andreoli aab204250a Places:
* fix umount of optical drives (they still refuse to auto mount...)
 * better icon for trash in the menu
 * some formatting, sorry

SVN revision: 74460
2012-07-26 22:28:09 +00:00
Davide Andreoli 195eb7b069 Places:
* new config option to mount devices on startup
  * open-on-insert option depend on mount-on-insert, disable the checkbox accordly

SVN revision: 74459
2012-07-26 22:04:51 +00:00
Davide Andreoli 1074da1961 Places: create/destroy the e menu augmentation on config apply (no more e restart required to apply the config)
SVN revision: 74457
2012-07-26 21:35:12 +00:00
Davide Andreoli 3566436355 Places: honor 'mount on insert' and 'open on mount' config values.
SVN revision: 74455
2012-07-26 21:08:02 +00:00
Davide Andreoli 08be3a29a3 * open the fm when clicking on an unmounted volume (mount and then open when mounted)
* unsigned char -> Eina_Bool

SVN revision: 67558
2012-01-26 21:20:55 +00:00
Davide Andreoli 227da1f6f8 add an option to hide the header
SVN revision: 67519
2012-01-24 23:54:10 +00:00
Davide Andreoli 45dece9913 make the header a big button, pressing will open home dir
SVN revision: 67514
2012-01-24 21:59:50 +00:00
Davide Andreoli 58d52b9d24 * add the (empty) structure for a future eeze support
SVN revision: 67513
2012-01-24 20:59:11 +00:00
Davide Andreoli 9a3017e721 * detect udisks at configure and made an option to disable it.
* bump to version 0.2.0  ;)

SVN revision: 67458
2012-01-22 21:14:47 +00:00
Davide Andreoli 01f5b144da udisks: wake up!!
SVN revision: 67455
2012-01-22 18:26:33 +00:00
Davide Andreoli 3e813d4ce8 * move all of the udisks code in a proper file
* built the infra to have different 'backends' running togheter
* refactor the mayority of the code

unreadable patch...sorry



SVN revision: 67429
2012-01-22 00:06:46 +00:00
Davide Andreoli 5196f555ee Fix the places module!
Removed all that crappy hal/udisk #ifdefs
I don't want to maintain 2 different backend, so I removed all the HAL code

Now to run the module you must have the udisks stuff and e_dbus compiled
with ukit support, you will also need a super-updated e_dbus version.

The module need some testing now, give it a try ;)

SVN revision: 67283
2012-01-17 21:46:33 +00:00
Boris Faure cc5a14ff87 E-MODULES-EXTRA: add const to _gc_label() functions
SVN revision: 65208
2011-11-14 22:17:19 +00:00
Cedric BAIL e2e3111d08 places: if you use dbus and ukit, init it.
SVN revision: 64808
2011-11-06 10:17:03 +00:00
Hannes Janetzek 59ccd5269d e-modules/places: fix segv on unload when signal handler is NULL
SVN revision: 63199
2011-09-05 14:36:49 +00:00
Hannes Janetzek c200da742c e-modules: use GADCON_CLIENT_CONFIG_GET
SVN revision: 63126
2011-09-03 15:02:34 +00:00
Mike Blumenkrantz cfc96085f6 implement udisks nonsense for places module. haven't tested, ymmv
SVN revision: 62893
2011-08-28 03:22:49 +00:00
Vincent Torri 05178ca306 fix possible undef ref when gettext is disabled or not installed
SVN revision: 59997
2011-06-06 17:36:38 +00:00
Hannes Janetzek eb799bfc92 e-modules: update do e_gadcon_util_cliet_menu_append api changes. allowing to have settings menu in toplevel again
SVN revision: 57828
2011-03-17 17:24:53 +00:00
Daniel Kolesa 128d4eb6e8 Proper free space calculation. Non-POSIX Dave is non-POSIX :P
SVN revision: 57251
2011-02-23 00:45:53 +00:00
Daniel Kolesa 72324ca29d Prevent Places gadget from segfaulting Enlightenment on FreeBSD, add UFS/ZFS detection and tag them with FreeBSD icon. Free spaces on disks aren't still shown pretty much right (172,1GB remaining from 39,1GB, -340%) and opening a mounted disk opens root filesystem in EFM and not the right dir, but at least it allows simple mount / umount and shows all disks properly.
SVN revision: 57250
2011-02-22 23:08:27 +00:00
Davide Andreoli 6af57a0fbb Places module: fix segfault on resume after suspend.
Patch from Nikolas.Arend@gmx.net
  Thanks :)




SVN revision: 56289
2011-01-24 17:52:56 +00:00
Davide Andreoli f11fef120c Try to use freedesktop icons in the Places module.
fdo standard is a mess, it's not clear, and the clear part is totally wrong !!
For example they use the - char as a category separator in name, but then they use the same char 
inside category  :/  making the fallback system impossible to implement.

Also Oxigen and Humanity (kde & gnome main themes) use different names for device icons  :(

Totally a mess

I also wrote a mail to the author of the icon standard... no replay yet....


SVN revision: 55369
2010-12-08 04:05:09 +00:00
Davide Andreoli 3b91609cc6 Whitespaces
SVN revision: 55283
2010-12-05 09:39:05 +00:00
Miculcy Brian b2000416d3 fix recent menu api break
SVN revision: 52066
2010-09-09 14:50:27 +00:00
Davide Andreoli 32e588dfda formatting & whitespaces
SVN revision: 51633
2010-08-25 08:23:59 +00:00
Davide Andreoli db5b5e67ea use PATH_MAX
SVN revision: 51632
2010-08-25 07:48:16 +00:00
Lucas De Marchi b8a4496a51 Fixes for Ecore Api changes
Patch automatically by Coccinelle to fix the
callbacks used by the following functions:

 * ecore_event_handler_add()
 * ecore_event_filter_add()
 * ecore_idler_add()
 * ecore_idle_enterer_add()
 * ecore_idle_enterer_before_add()
 * ecore_idle_exiter_add()
 * ecore_main_fd_handler_add()
 * ecore_main_win32_handler_add()
 * ecore_timer_add()
 * ecore_timer_loop_add()
 * ecore_animator_add()
 * ecore_poller_add()


SVN revision: 50108
2010-07-08 00:57:17 +00:00
Davide Andreoli 2a173dcf1c Fix License for the Places module. LGPL3 -> BSD
SVN revision: 49771
2010-06-20 15:32:02 +00:00
Sebastian Dransfeld f53658f7bd places: match e_dbus/hal
SVN revision: 48654
2010-05-06 20:51:09 +00:00
Cedric BAIL 297eab3f35 * place: typos.
SVN revision: 48584
2010-05-03 17:29:01 +00:00
Cedric BAIL efcdfaa46b * places: reflect change in e_hal.
SVN revision: 48576
2010-05-03 13:58:00 +00:00
Sebastian Dransfeld acb4e2ea76 config menu func does not need EAPI
SVN revision: 45456
2010-01-22 21:02:11 +00:00
Sebastian Dransfeld ad5280e60f Use avail to get available space, and cast all elements to get unsigned long long result
SVN revision: 45042
2010-01-11 10:23:02 +00:00
Christopher Michael ffed609651 Check for valid dbus connection before trying to close it.
SVN revision: 44691
2009-12-23 14:22:04 +00:00
Hannes Janetzek c9a14c89b0 let config dialogs be remembered after e restart
SVN revision: 42609
2009-09-21 22:52:44 +00:00
Davide Andreoli 6835270165 * Modified patch from Deon Thomas to make Places understand ext2, ext4, raiserfs, ntfs-3g and generic usb disk partitions.
SVN revision: 42364
2009-09-09 10:37:22 +00:00
Davide Andreoli cb716785ca more use of EINA_LIST_FOREACH
SVN revision: 41845
2009-08-17 15:53:32 +00:00
Daniel Kolesa c1c9d2692b EMODULES: Fix & Unify autofoo stuff everywhere, fix dist tarballs support, add ability to create dist tarball of all modules.
SVN revision: 41571
2009-08-03 14:49:56 +00:00
semernin 966329cff6 List of changes:
1. Gadcon sities:
      -- 'E_Gadcon_Site' enum to list all available sities,
      -- added 'is_site' callback for distinguish gadcon sities,
      -- 'e_gadcon_site_is_*' helpers written to use in gadget modules,
      -- gadcon config dialogs modified to show only gadgets that appropriate
         to selected gadcon site,
      -- all gadget modules updated for using new callback.
      
      When callback is not provided in module, then gadget can be used in 
      any gadcon site.
      
   2. Filemanager:
      -- added error icon to unexisting path dialog,
      -- added callback 'func.abort' to 'E_Fm2_Op_Registry_Entry' to specify
         abort operation sequence (if not provided, then operation is not
         cancelable),
      -- added parameter to 'e_fm2_op_registry_entry_add' to specify abort
         method on construct 'E_Fm2_Op_Registry_Entry' or make non-cancelable
         operation if this function is not provided,
      -- added 'e_fm2_operation_abort' call to cancel efm2 operation,
      -- added method '_e_fm2_operation_abort_internal' that represent efm2
         default handler of operation cancelling,
      -- 'done' and 'total' fields of 'E_Fm2_Op_Registry_Entry' changed to
         off_t type, also all message handlers modified to work with it
         (to show progress for large files correctly),
      -- improved file operation progress processing,
      -- added cancel button to operation progress gadget in filemanager window,
      -- added delete file glyph to operation progress gadget,
      -- improved status message for efm2 operation progress.

   3. Filemanager slave:
      -- fixed critical bug in message handling via stdin/stdout,
      -- fixed critical bug in removing task from list,
      -- improved 'E_FM_OP_ABORT' handling,
      -- fix rollback counting on moving files.

   4. Fileman_opinfo module:
      -- a new theme writed: status string and gadget for view operation status
         in summary and detail modes,
      -- summary mode: operation glyph, state message, progressbar, abort button,
      -- detail mode: all for summary + from filename, to filename,
      -- summary/detailed button works as trigger,
      -- added source of module theme and used images.
      
   4. Pathbar module:
      -- non-critical fix, just for safety.

   Also patch contains several minor updates to serve main task.


SVN revision: 41224
2009-06-29 14:38:03 +00:00
Daniel Kolesa 46dddd8fac Updated Czech translations and fixed string in Places module.
SVN revision: 41006
2009-06-11 13:33:43 +00:00
Davide Andreoli 3e31defdbe Reenable places menu integration, for people that dont use efm. With his new configuration value
SVN revision: 40930
2009-06-07 00:42:11 +00:00
Gustavo Sverzut Barbieri 8772b9b491 e_hal is now using Eina_List.
SVN revision: 39863
2009-04-04 21:36:57 +00:00
Carsten Haitzler 1cd73ccc43 fix api change.
SVN revision: 39830
2009-04-01 21:50:34 +00:00
Davide Andreoli 2f11f00474 Rename all icons in E-MODULE-EXTRA
SVN revision: 39774
2009-03-28 13:30:14 +00:00
Gustavo Sverzut Barbieri 7b06a365a9 Just mount devices without "storage.automount_enabled_hint=false".
At least ubuntu wisely set this so non-removable devices are not
mounted every time (ie: /boot).



SVN revision: 39558
2009-03-18 20:31:35 +00:00