elementary: hide naviframe itens added but not on top

SVN revision: 78006
This commit is contained in:
Bruno Dilly 2012-10-15 16:26:22 +00:00
parent 0e626b7e08
commit 53c51e0512
1 changed files with 4 additions and 0 deletions

View File

@ -1330,6 +1330,8 @@ elm_naviframe_item_insert_before(Evas_Object *obj,
(sd->stack, EINA_INLIST_GET(it),
EINA_INLIST_GET(((Elm_Naviframe_Item *)before)));
evas_object_hide(VIEW(it));
elm_layout_sizing_eval(obj);
return (Elm_Object_Item *)it;
@ -1366,6 +1368,8 @@ elm_naviframe_item_insert_after(Evas_Object *obj,
evas_object_show(VIEW(it));
evas_object_hide(VIEW(after));
}
else
evas_object_hide(VIEW(it));
elm_layout_sizing_eval(obj);