Commit Graph

121 Commits

Author SHA1 Message Date
Carsten Haitzler 3a8554ee94 fix menu tracking + E_API
1. uses EAPI - this was efl's symbol visibility macro. e used E_API...
so use it
2. don't track menu - gadcon does that for you. fixed crash/mem access
bug as gadcon owns this menu not the module.
2024-03-24 13:01:39 +00:00
Davide Andreoli fbaf294dfd Better icons for flash and floppy 2021-04-26 07:01:35 +02:00
Davide Andreoli 1e63c232bb Fix icons for DVD, BD and Audio CD 2021-04-25 07:55:18 +02:00
Davide Andreoli 69b258794a don't leak strings in menu 2021-04-24 17:17:07 +02:00
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 c45452ccaf Udisks2: Fix for usb cdrom removal 2021-04-24 07:50:56 +02:00
Davide Andreoli bb16f0d245 Better handling of dbus errors
Now print the error instead of silently fail
2021-04-23 11:11:33 +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 ffabb2149c Fix Removable hint for thumb drives 2021-04-18 13:51:32 +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 b25c7c5529 meson: link_args++ 2020-04-25 21:43:18 +02: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 6db7ce49e5 Fix compilation on recent efl (read as: breackage)
without this change I'm getting tons of errors like:

In file included from /usr/local/include/ecore-1/Ecore_Common.h:1039:0,
                 from /usr/local/include/ecore-1/Ecore.h:329,
                 from /usr/local/include/enlightenment/e.h:116,
                 from e_mod_udisks_eldbus.c:9:
/usr/local/include/ecore-1/ecore_exe.eo.h:103:20: error: unknown type name ‘Efl_Event_Description’
 EWAPI extern const Efl_Event_Description _ECORE_EXE_EVENT_DATA_GET;


/usr/local/include/ecore-1/efl_loop.eo.h:286:20: error: unknown type name ‘Efl_Event_Description’
 EWAPI extern const Efl_Event_Description _EFL_LOOP_EVENT_POLL_HIGH;

I think that swapping the includes make it work because e.h set BETA_API
and that make eldbus happy.

So seems (without too much investigation) that eldbus is broken for legacy app.

( so tired to fixing legacy efl breackages)
2018-02-09 20:20:17 +01: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 28353dece1 Fix initial state of the custom_fm checkbox 2015-01-31 12:53:36 +01:00
Davide Andreoli 27c26a47a5 Redone the config panel using elm
The e_widget version was a little broken by recent e changes
2015-01-26 23:44:29 +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 26eca1490d Do not ignore eldbus_message_arguments_get return value, warn-- 2015-01-11 20:22:25 +01:00
Davide Andreoli a310691877 Use the new e_comp global variable 2015-01-11 20:21:47 +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 94f551fb12 Fix the config dialog to not crash
Fucking e_comp changes under the hood
2015-01-10 22:22:39 +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 b76c4f3779 skip volumes with DevicePresentationHide set 2014-02-02 20:37:49 +01:00
Davide Andreoli ee7f50a2d7 some more eeze testing 2014-02-01 14:16:40 +01:00
Davide Andreoli 6d6a3ba57d Show a dialog when a mount/umount operation fail 2014-01-18 15:58:25 +01:00
Davide Andreoli 190800cbdc And finally fix the popup logic for e19 2014-01-18 15:15:32 +01:00
Davide Andreoli 37086c655d Update to new e19 api 2014-01-18 15:15:32 +01:00
Davide Andreoli a4d4309817 remove old and deprecated e_dbus (v1) backend 2014-01-18 15:15:32 +01:00
Davide Andreoli 7685e0bedc Places: fix compilation due to recent e_popup_autoclose() changes
SVN revision: 84554
2013-06-17 16:56:34 +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