summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-02-02 20:37:49 +0100
committerdavemds <dave@gurumeditation.it>2014-02-02 20:39:26 +0100
commitb4754088c0dfb25cba7436599872be55465c1057 (patch)
treec89c1d93b878482a78554a94fc9eb1043bd72e50
parenta3e3135ccdc2a00f042b5262662f657909168551 (diff)
skip volumes with DevicePresentationHide setenlightenment-0.18
-rw-r--r--src/e_mod_udisks_eldbus.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/e_mod_udisks_eldbus.c b/src/e_mod_udisks_eldbus.c
index 4992d89..48b1da1 100644
--- a/src/e_mod_udisks_eldbus.c
+++ b/src/e_mod_udisks_eldbus.c
@@ -221,6 +221,12 @@ _places_udisks_vol_props_cb(void *data, const Eldbus_Message *msg, Eldbus_Pendin
221 eldbus_message_iter_arguments_get(var, "b", &bool); 221 eldbus_message_iter_arguments_get(var, "b", &bool);
222 if (bool) return; 222 if (bool) return;
223 } 223 }
224 // skip volumes with presentation.hide set
225 if (!strcmp(key, "DevicePresentationHide"))
226 {
227 eldbus_message_iter_arguments_get(var, "b", &bool);
228 if (bool) return;
229 }
224 else if (!strcmp(key, "IdUsage")) 230 else if (!strcmp(key, "IdUsage"))
225 eldbus_message_iter_arguments_get(var, "s", &id_usage); 231 eldbus_message_iter_arguments_get(var, "s", &id_usage);
226 else if (!strcmp(key, "DeviceFile")) 232 else if (!strcmp(key, "DeviceFile"))