Commit Graph

62 Commits

Author SHA1 Message Date
Davide Andreoli 1208a59790 Use fs size from statvfs if the backend did not provide it 2015-01-10 21:10:38 +01:00
Davide Andreoli 63017167e0 Show the umount/eject button only if can actually do the operation 2015-01-10 20:54:12 +01:00
Davide Andreoli 3261042294 Fix compilation with E20 2015-01-10 13:20:21 +01:00
Igor Murzov a2b2485219 Make size units translatable 2014-07-04 03:08:19 +04:00
Igor Murzov 701f72dae2 Display sizes >= 1TB in terse format as well. 2014-07-04 02:07:22 +04:00
Davide Andreoli a4d4309817 remove old and deprecated e_dbus (v1) backend 2014-01-18 15:15:32 +01:00
Davide Andreoli 5abb426d36 Places: rename edbus to eldbus
SVN revision: 84544
2013-06-17 10:04:00 +01:00
Davide Andreoli 168ce626b2 Places: as a bonus middle-click on the shelf icon will open your home directory
SVN revision: 84540
2013-06-17 10:04:00 +01:00
Davide Andreoli 74f3a86e33 Places: Honor the XDG_DESKTOP_DIR in the menu, and fix opening volumes from the menu.
SVN revision: 84538
2013-06-17 10:04:00 +01:00
Davide Andreoli 5d7c7e1264 Places: close the popup also when clicked on an icon or on the header.
SVN revision: 84537
2013-06-17 10:03:59 +01:00
Davide Andreoli 9c969a2c0a Places: Fix name for volumes without a label
SVN revision: 84536
2013-06-17 10:03:59 +01:00
Davide Andreoli 87db6172c0 Places: New option: autoclose_popup
* autoclose_popup: true, will close the popup like connman. False will keep it open like the clock module
 * factorized _places_run_fm()

SVN revision: 84535
2013-06-17 10:03:59 +01:00
Davide Andreoli 189f937f08 Places: support site other than desktop
Now on shelf and toolbars show just an hard-disk icon,
clicking the icon will upen a popup (like clock or connman modules)
containing the usual volumes list.

SVN revision: 84514
2013-06-17 10:03:59 +01:00
Davide Andreoli 678fa102cc Places: use an edje box instead of e_box
SVN revision: 84513
2013-06-17 10:03:59 +01:00
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
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 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 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
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
Mike Blumenkrantz cfc96085f6 implement udisks nonsense for places module. haven't tested, ymmv
SVN revision: 62893
2011-08-28 03:22:49 +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
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 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
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
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
Davide Andreoli 507ee6d7e6 Disable menu augmentation (now inside e)
SVN revision: 39338
2009-03-03 01:08:17 +00:00
Gustavo Sverzut Barbieri 048e5a2511 do not show double separators if no volume is there.
SVN revision: 39302
2009-03-01 06:38:31 +00:00