davemds pushed a commit to branch enlightenment-0.17. http://git.enlightenment.org/enlightenment/modules/places.git/commit/?id=6e6b2a45fb43c4bdcf816613862c4ceb77c0dc91
commit 6e6b2a45fb43c4bdcf816613862c4ceb77c0dc91 Author: davemds <[email protected]> Date: Sun Feb 2 20:44:42 2014 +0100 skip volumes with DevicePresentationHide set --- src/e_mod_udisks.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/e_mod_udisks.c b/src/e_mod_udisks.c index bec75dc..bfcea51 100644 --- a/src/e_mod_udisks.c +++ b/src/e_mod_udisks.c @@ -278,6 +278,10 @@ _places_udisks_vol_prop_cb(void *data, void *reply_data, DBusError *error) if (e_ukit_property_bool_get(udisks_ret, "DeviceIsMediaChangeDetectionInhibited", &err) || err) return; + // skip volumes with presentation.hide set + if (e_ukit_property_bool_get(udisks_ret, "DevicePresentationHide", &err) || err) + return; + // skip volumes without a storage (slave partition) str = e_ukit_property_string_get(udisks_ret, "PartitionSlave", &err); if (err || !str) return; --
