forked from enlightenment/enlightenment
e_fm/udisk: Delete the correct storage handle.
Copy and paste bug introduced in the initial port to edbus. This could be a cause of problems when using e_fm with removable media and udisk. CID: 1039955
This commit is contained in:
parent
31eda6e249
commit
5d6960c2ce
|
@ -417,7 +417,7 @@ _e_fm_main_udisks_cb_store_prop(void *data, const Eldbus_Message *msg,
|
||||||
if (s->system_internal)
|
if (s->system_internal)
|
||||||
{
|
{
|
||||||
DBG("removing storage internal %s", s->udi);
|
DBG("removing storage internal %s", s->udi);
|
||||||
ecore_idler_add(_storage_del, s->dbus_path);
|
ecore_idler_add(_storage_del, s->udi);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* force it to be removable if it passed the above tests */
|
/* force it to be removable if it passed the above tests */
|
||||||
|
|
Loading…
Reference in New Issue