okra pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=396f0fe8b16e7bd313fd2447220fd1c168e59ab1
commit 396f0fe8b16e7bd313fd2447220fd1c168e59ab1 Author: Stephen 'Okra' Houston <[email protected]> Date: Tue Dec 13 09:49:56 2016 -0600 Luncher: Make sure to delete preview when icon is deleted. This fixes https://phab.enlightenment.org/T4916 --- src/modules/luncher/bar.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c index fae7084..69d4391 100644 --- a/src/modules/luncher/bar.c +++ b/src/modules/luncher/bar.c @@ -3,6 +3,7 @@ static Eina_List *handlers; static Evas_Object *current_preview; static Eina_Bool current_preview_menu; static Eina_Bool _bar_icon_preview_show(void *data); +static Eina_Bool _bar_icon_preview_hide(void *data); static void _bar_aspect(Instance *inst) @@ -188,6 +189,8 @@ static void _bar_icon_del(Instance *inst, Icon *ic) { inst->icons = eina_list_remove(inst->icons, ic); + if (ic->preview) + _bar_icon_preview_hide(ic); _bar_aspect(inst); evas_object_del(ic->o_icon); evas_object_del(ic->o_overlay); --
