forked from enlightenment/efl
elementary: hide naviframe itens added but not on top
SVN revision: 78006
This commit is contained in:
parent
0e626b7e08
commit
53c51e0512
|
@ -1330,6 +1330,8 @@ elm_naviframe_item_insert_before(Evas_Object *obj,
|
||||||
(sd->stack, EINA_INLIST_GET(it),
|
(sd->stack, EINA_INLIST_GET(it),
|
||||||
EINA_INLIST_GET(((Elm_Naviframe_Item *)before)));
|
EINA_INLIST_GET(((Elm_Naviframe_Item *)before)));
|
||||||
|
|
||||||
|
evas_object_hide(VIEW(it));
|
||||||
|
|
||||||
elm_layout_sizing_eval(obj);
|
elm_layout_sizing_eval(obj);
|
||||||
|
|
||||||
return (Elm_Object_Item *)it;
|
return (Elm_Object_Item *)it;
|
||||||
|
@ -1366,6 +1368,8 @@ elm_naviframe_item_insert_after(Evas_Object *obj,
|
||||||
evas_object_show(VIEW(it));
|
evas_object_show(VIEW(it));
|
||||||
evas_object_hide(VIEW(after));
|
evas_object_hide(VIEW(after));
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
evas_object_hide(VIEW(it));
|
||||||
|
|
||||||
elm_layout_sizing_eval(obj);
|
elm_layout_sizing_eval(obj);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue