bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/apps/extra.git/commit/?id=4e28bb339448d7c9ff5a2e7eea6970dedad4125f
commit 4e28bb339448d7c9ff5a2e7eea6970dedad4125f Author: Marcel Hollerbach <[email protected]> Date: Wed Feb 15 21:44:43 2017 +0100 extra: reset the tooltip bar in the top when the install/uninstall is done --- src/bin/extra_background_selector.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/bin/extra_background_selector.c b/src/bin/extra_background_selector.c index 76d3b30..c679844 100644 --- a/src/bin/extra_background_selector.c +++ b/src/bin/extra_background_selector.c @@ -13,9 +13,20 @@ static Extra_Ui_Small_Preview_Accessor acc = { }; static void +_reapply_tooltip(void) +{ + Elm_Object_Item *item; + + item = elm_gengrid_selected_item_get(_selector); + elm_gengrid_item_selected_set(item, EINA_FALSE); + elm_gengrid_item_selected_set(item, EINA_TRUE); +} + +static void _background_installed(void *data EINA_UNUSED) { /*TODO FIND A WAY TO REMOTE OPEN ENLIGHTENMENT BACKGROUND SELECTOR*/ + _reapply_tooltip(); } static void @@ -34,6 +45,7 @@ _uninstall_background(void *data, Evas_Object *obj EINA_UNUSED, void *event_info Extra_Background *b = data; extra_background_delete(b); + _reapply_tooltip(); } static void --
