naviframe: Emit visible signal to edc theme when first item is pushed

Summary:
Emit "elm,state,visible" "elm" signal to edc file when first item is pushed.
Above signal can be used if an application wants to do something when the first view is shown on the screen.

@fix

Reviewers: Hermet, seoz, raster

CC: seoz, raster

Differential Revision: https://phab.enlightenment.org/D483
This commit is contained in:
Jaehyun Cho 2014-03-05 14:34:21 +09:00 committed by Carsten Haitzler (Rasterman)
parent 80f077cbec
commit 4002cb2c5a
1 changed files with 3 additions and 0 deletions

View File

@ -1553,6 +1553,9 @@ _item_push(Eo *obj, void *_pd, va_list *list)
sd->stack = eina_inlist_append(sd->stack, EINA_INLIST_GET(it));
if (!prev_it)
elm_object_signal_emit(VIEW(it), "elm,state,visible", "elm");
elm_layout_sizing_eval(obj);
*ret = (Elm_Object_Item *)it;