honor udisks presentation hide flag
Reviewers: raster, seekamp Reviewed By: zmike CC: cedric Differential Revision: https://phab.enlightenment.org/D505
This commit is contained in:
parent
a93490e567
commit
7fd16ce26d
|
@ -414,6 +414,10 @@ _e_fm_main_udisks_cb_vol_prop(E_Volume *v,
|
|||
if (e_ukit_property_bool_get(ret, "DeviceIsSystemInternal", &err)) goto error;
|
||||
EINA_SAFETY_ON_TRUE_GOTO(err, error);
|
||||
|
||||
/* skip partitions with presentation hide set */
|
||||
if (e_ukit_property_bool_get(ret, "DevicePresentationHide", &err)) goto error;
|
||||
EINA_SAFETY_ON_TRUE_GOTO(err, error);
|
||||
|
||||
/* skip volumes with volume.ignore set */
|
||||
if (e_ukit_property_bool_get(ret, "DeviceIsMediaChangeDetectionInhibited", &err)) goto error;
|
||||
EINA_SAFETY_ON_TRUE_GOTO(err, error);
|
||||
|
|
Loading…
Reference in New Issue