Fix gadcon popup to reposition correctly on size changes

None was setting the visible flags, that is checked before reposition the popup
This commit is contained in:
Davide Andreoli 2014-08-31 15:34:36 +02:00
parent 06cb4fec4a
commit 54e039c0ac
1 changed files with 2 additions and 0 deletions

View File

@ -241,6 +241,7 @@ e_gadcon_popup_show(E_Gadcon_Popup *pop)
if (pop->content)
e_comp_object_util_del_list_append(pop->comp_object, pop->content);
evas_object_show(pop->comp_object);
pop->visible = EINA_TRUE;
}
EAPI void
@ -252,6 +253,7 @@ e_gadcon_popup_hide(E_Gadcon_Popup *pop)
evas_object_hide(pop->comp_object);
if (pop->gadcon_was_locked)
_e_gadcon_popup_locked_set(pop, 0);
pop->visible = EINA_FALSE;
}
EAPI void