forked from enlightenment/enlightenment
check efm queued icons when trying to live delete a file to ensure the icon is deleted
T633
This commit is contained in:
parent
bbaa7a76b7
commit
d985b01aa9
|
@ -1,3 +1,7 @@
|
|||
2013-12-10 Mike Blumenkrantz
|
||||
|
||||
* fixed filemanager race condition causing create-queued icons to not be deleted
|
||||
|
||||
2013-12-09 Mike Blumenkrantz
|
||||
|
||||
* removed physics module
|
||||
|
|
1
NEWS
1
NEWS
|
@ -268,3 +268,4 @@ Fixes:
|
|||
* Fix crash when activating e's restart from start gadget triggered menu
|
||||
* Further improve initial window placement coordinates
|
||||
* Fixed cases where gadgets would sometimes reorder randomly on shelves
|
||||
* fixed filemanager race condition causing create-queued icons to not be deleted
|
||||
|
|
|
@ -3456,6 +3456,17 @@ _e_fm2_file_del(Evas_Object *obj, const char *file)
|
|||
return;
|
||||
}
|
||||
}
|
||||
EINA_LIST_FOREACH(sd->queue, l, ic)
|
||||
{
|
||||
if (!strcmp(ic->info.file, file))
|
||||
{
|
||||
INF("MATCH!");
|
||||
sd->queue = eina_list_remove_list(sd->queue, l);
|
||||
ic->queued = EINA_FALSE;
|
||||
_e_fm2_icon_free(ic);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue