naviframe: Hide inserted view if the view is not a top view

Summary:
Although an inserted view is not a top view, the inserted view is shown
         because it is not received invisible signal.
         To resolve the problem, the invisible signal is emitted if the inserted
         view is not a top view.

Reviewers: Hermet, raster

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D494
This commit is contained in:
Jaehyun Cho 2014-02-07 23:21:31 +09:00 committed by Carsten Haitzler (Rasterman)
parent 74fbb2c8ea
commit 4aeb779a48
1 changed files with 2 additions and 0 deletions

View File

@ -1669,6 +1669,8 @@ _item_insert_after(Eo *obj, void *_pd, va_list *list)
else
elm_object_focus_set(WIDGET(it), EINA_TRUE);
}
else
elm_object_signal_emit(VIEW(it), "elm,state,invisible", "elm");
elm_layout_sizing_eval(obj);