Commit Graph

48 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
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
Cedric BAIL ee439f1cae * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +00:00
Davide Andreoli d5667efb83 escape fm command execution. Thanks to gvm999
SVN revision: 39007
2009-02-13 13:15:43 +00:00
Davide Andreoli 5cbbcd35c7 * Add options to choose what to show in menu (home, desktop, trash, etc...)
* Use e_exec instead of a custom fork to run the filemanager, it follow PATH, so you don't have to write the full path
 * Modify a little the filemanager selector

SVN revision: 38902
2009-02-02 00:35:45 +00:00
Massimiliano Calamelli 0cd8adc789 Add a little guard for vol->icon == NULL.
Without this, if you left-click on desktop and go to
"Places", E crashes. 



SVN revision: 38802
2009-01-26 23:49:33 +00:00
Davide Andreoli 87ca4e8d96 * fix config dialog size
* parse better the bookmarks file (support alias and special chars)
 * fix the icons in the menu
 * show in menu also not mounted volumes

SVN revision: 38790
2009-01-26 08:29:20 +00:00
Davide Andreoli 605dad7963 * sort internal hd first
* for dvd use the E cdrom icon + a dvd tag 

SVN revision: 38786
2009-01-25 22:20:23 +00:00
Davide Andreoli 582f2d9420 * use hd & cdrom icons from the e theme (can use more in future)
* add a tag overlay to the icon (to show ext3, fat, dvd...)
 * simplify the on-over animation of the icons


SVN revision: 38773
2009-01-25 05:26:29 +00:00
Davide Andreoli a8c91304b9 * fix an empty name error & debug--
SVN revision: 38770
2009-01-25 03:37:14 +00:00
Davide Andreoli 9d1cdbdb74 Add a PSP (Playstation portable) icon
SVN revision: 38769
2009-01-25 03:29:33 +00:00
Davide Andreoli a2fe823170 * Add a new horizontal view
* Remove the header
 * More comments cleanup

SVN revision: 37974
2008-12-07 02:50:11 +00:00
Davide Andreoli f81cefddad better min size and debug --
SVN revision: 37970
2008-12-06 21:15:12 +00:00
Davide Andreoli d55448b2d3 Places module in SVN
SVN revision: 37964
2008-12-06 18:51:04 +00:00