summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-02-06 13:14:55 -0500
committerMike Blumenkrantz <zmike@samsung.com>2014-02-06 13:16:27 -0500
commit44a04c88139bd67dc7d5f5a5af3050ae3ac3323a (patch)
tree26794834eb7b70c9dd9f48ef097c3cd9b1807628
parentbc58bc39e25d0db2322962a06bdeafc9579c5a5c (diff)
feature: check udisks1 DevicePresentationHide flag
from D505
-rw-r--r--src/bin/e_fm/e_fm_main_udisks.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/bin/e_fm/e_fm_main_udisks.c b/src/bin/e_fm/e_fm_main_udisks.c
index 5d5717f03..066568570 100644
--- a/src/bin/e_fm/e_fm_main_udisks.c
+++ b/src/bin/e_fm/e_fm_main_udisks.c
@@ -498,6 +498,17 @@ _e_fm_main_udisks_cb_vol_prop(void *data, const Eldbus_Message *msg,
498 return; 498 return;
499 } 499 }
500 } 500 }
501 else if (!strcmp(key, "DevicePresentationHide"))
502 {
503 Eina_Bool hid;
504 eldbus_message_iter_arguments_get(var, "b", &hid);
505 if (hid)
506 {
507 DBG("removing is hidden %s", v->dbus_path);
508 ecore_idler_add(_idler_volume_del, v->dbus_path);
509 return;
510 }
511 }
501 else if (!strcmp(key, "DeviceIsMediaChangeDetectionInhibited")) 512 else if (!strcmp(key, "DeviceIsMediaChangeDetectionInhibited"))
502 { 513 {
503 Eina_Bool inibited; 514 Eina_Bool inibited;