diff options
author | Jaehyun Cho <jae_hyun.cho@samsung.com> | 2014-03-05 14:34:21 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2014-03-05 14:34:49 +0900 |
commit | 036cec14548828d28b9f3668ceb08b299ab97e01 (patch) | |
tree | a014a97f758dc9ce0d24b0750562b28e908a62e1 | |
parent | e5b05a9d1176c1a14be226fb80f8370431555728 (diff) | |
download | elementary-036cec14548828d28b9f3668ceb08b299ab97e01.tar.gz |
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
-rw-r--r-- | src/lib/elc_naviframe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c index a9a453ea8..52189328f 100644 --- a/src/lib/elc_naviframe.c +++ b/src/lib/elc_naviframe.c @@ -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; |