bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/apps/extra.git/commit/?id=6aa58f27c0b2a92c02e21fba93b9133963405812
commit 6aa58f27c0b2a92c02e21fba93b9133963405812 Author: Marcel Hollerbach <[email protected]> Date: Wed Feb 15 21:58:20 2017 +0100 extra: hide the toolbar when a popup is placed --- src/bin/extra_theme_selector.c | 3 ++- src/bin/extra_util.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/extra_theme_selector.c b/src/bin/extra_theme_selector.c index f3fd5f2..d120ab0 100644 --- a/src/bin/extra_theme_selector.c +++ b/src/bin/extra_theme_selector.c @@ -46,13 +46,14 @@ static void _install_done(void *data) { Extra_Theme *theme = data; + Elm_Object_Item *item; if (extra_theme_installed(theme)) extra_ui_theme_ask_for_default(theme); elm_gengrid_clear(_selector); _fill_gengrid(); - + extra_ui_show_popup_toolbar(NULL); } static void diff --git a/src/bin/extra_util.c b/src/bin/extra_util.c index 19d0060..e668a73 100644 --- a/src/bin/extra_util.c +++ b/src/bin/extra_util.c @@ -321,6 +321,8 @@ extra_ui_show_popup_toolbar(Evas_Object *content) _ui.popup_toolbar = NULL; } + if (!content) return; + tooltip = elm_popup_add(_ui.win); elm_popup_allow_events_set(tooltip, EINA_TRUE); elm_popup_orient_set(tooltip, ELM_POPUP_ORIENT_TOP); --
