aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2013-12-10 12:19:20 -0500
committerMike Blumenkrantz <zmike@samsung.com>2013-12-10 12:19:20 -0500
commitd985b01aa96c693214df2d52b76d3dcef2d9816b (patch)
treeb45b72d7b6e00e749010a1a059b731f44011c316 /src
parentset systray icon layer based on gadcon container layer (diff)
downloadenlightenment-d985b01aa96c693214df2d52b76d3dcef2d9816b.tar.gz
check efm queued icons when trying to live delete a file to ensure the icon is deleted
Diffstat (limited to 'src')
-rw-r--r--src/bin/e_fm.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index 5aa42497f..27d9acfc5 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -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