skip volumes with DevicePresentationHide set
This commit is contained in:
parent
a49a9a773f
commit
6e6b2a45fb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue