summaryrefslogtreecommitdiff
path: root/src/bin/e_fm
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:15:41 -0500
commitf71c85b50976955d10c85dd29de0aa4608e5e8ac (patch)
tree4865f232468afaab26c3ae391ce1588491ee02c5 /src/bin/e_fm
parent78334b615ed1aef8e22b7742ba5f6de6c4eda154 (diff)
feature: check udisks1 DevicePresentationHide flag
from D505
Diffstat (limited to 'src/bin/e_fm')
-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;