Commit Graph

82 Commits

Author SHA1 Message Date
Davide Andreoli ab180f1199 Better icon for bookmarks 2021-04-24 08:55:04 +02:00
Davide Andreoli 9d06c71425 PoorMan debug utils 2021-04-24 08:39:18 +02:00
Davide Andreoli 33bf589e68 cleanup files structure and backend names 2021-04-23 09:11:24 +02:00
Davide Andreoli 182b9bbd82 Add a new EXPERIMENTAL systemd backend 2021-04-22 07:58:40 +02:00
Davide Andreoli 0293a50c05 use safer and more clear eina_streq() instead of strcmp() 2021-04-19 07:14:34 +02:00
Davide Andreoli 765c10c183 Fix ordering for network devices 2021-04-18 14:33:13 +02:00
Davide Andreoli 795a914062 Finally implemented UDisks2 backend 2021-04-18 13:38:58 +02:00
Davide Andreoli efe3ca5115 Do not poll freespace while the screensaver is on 2020-11-12 08:08:46 +01:00
Davide Andreoli b682a5f902 Move the statfvs() call in a separate thread
statvfs can block, so run it in a thread to not stall the E mainloop
2020-11-12 07:07:28 +01:00
Davide Andreoli ffd508e113 Places: switch to meson and GPLv3 2020-04-19 10:06:07 +02:00
Davide Andreoli 468cc4243e Unbork places module after unknown efl changes 2019-06-02 19:01:41 +02:00
Davide Andreoli 65bd9f748b Make coverity happy 2019-05-12 21:52:13 +02:00
Davide Andreoli 2115f5aac5 Fix for recent e20 changes 2015-03-21 12:59:35 +01:00
Kai Huuhko 20e7d512dd Follow changes in E 0.19.99 development 2015-03-15 15:00:08 +02:00
Davide Andreoli 57025c03a0 Open filemanager in the current zone 2015-01-31 13:35:31 +01:00
Davide Andreoli 60269fe129 Search the gtk bookmarks also in the new path 2015-01-12 00:09:49 +01:00
Davide Andreoli 4164923ee5 Fix opening of unmounted volumes from the e main menu 2015-01-11 23:19:19 +01:00
Davide Andreoli 363aef3b3e Now mount/umount works for nfs/cifs volumes listed in fstab 2015-01-11 23:01:28 +01:00
Davide Andreoli e559f19cc4 Added a new backend: mount
This is quite rought and brutal, it read the fstab file
to see the availabel mount points and the /proc/mounts
files to see if they are mounted or not.

atm only looks for fns and cifs filesystem, as all the
others should be yet managed by udisks. Works quite well
with my nfs shares.

TBD: actually mount/unmount using the mount command
2015-01-11 20:12:32 +01:00
Davide Andreoli 2ef240acc4 Support icon/tag for network fs (nfs or cifs) 2015-01-10 21:42:02 +01:00
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