check efm queued icons when trying to live delete a file to ensure the icon is deleted

T633
This commit is contained in:
Mike Blumenkrantz 2013-12-10 12:19:20 -05:00
parent bbaa7a76b7
commit d985b01aa9
3 changed files with 16 additions and 0 deletions

View File

@ -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
View File

@ -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

View File

@ -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