skip volumes with DevicePresentationHide set
This commit is contained in:
parent
ee7f50a2d7
commit
b76c4f3779
|
@ -221,6 +221,12 @@ _places_udisks_vol_props_cb(void *data, const Eldbus_Message *msg, Eldbus_Pendin
|
||||||
eldbus_message_iter_arguments_get(var, "b", &bool);
|
eldbus_message_iter_arguments_get(var, "b", &bool);
|
||||||
if (bool) return;
|
if (bool) return;
|
||||||
}
|
}
|
||||||
|
// skip volumes with presentation.hide set
|
||||||
|
if (!strcmp(key, "DevicePresentationHide"))
|
||||||
|
{
|
||||||
|
eldbus_message_iter_arguments_get(var, "b", &bool);
|
||||||
|
if (bool) return;
|
||||||
|
}
|
||||||
else if (!strcmp(key, "IdUsage"))
|
else if (!strcmp(key, "IdUsage"))
|
||||||
eldbus_message_iter_arguments_get(var, "s", &id_usage);
|
eldbus_message_iter_arguments_get(var, "s", &id_usage);
|
||||||
else if (!strcmp(key, "DeviceFile"))
|
else if (!strcmp(key, "DeviceFile"))
|
||||||
|
|
Loading…
Reference in New Issue