extra: reset the tooltip bar in the top when the install/uninstall is
done
This commit is contained in:
parent
1f502df5cd
commit
4e28bb3394
|
@ -12,10 +12,21 @@ static Extra_Ui_Small_Preview_Accessor acc = {
|
|||
((Extra_ui_preview_download*) extra_background_preview_download),
|
||||
};
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue