aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_popup.c
diff options
context:
space:
mode:
authorJinYong Park <j4939.park@samsung.com>2017-04-12 14:25:51 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-04-12 14:25:53 -0700
commit86008fa411378721ae3d772e778f0acfe477b057 (patch)
treef3157ff411839f766e7cab9c8a61501ed006645e /src/bin/elementary/test_popup.c
parentevas: Fix event propagation in elm_widget (diff)
downloadefl-86008fa411378721ae3d772e778f0acfe477b057.tar.gz
notify: fix hide animation logic for popup
Summary: When popup is timeout, notify call hide func, and send time out event to popup. After popup receiving time out event, popup hide object again, so hide animation doesn't show. And notify hide function doesn't send hide signal to block events part, (but dismiss function send it) So add that signal. Test Plan: 1. elementary_test -to popup 2. click first item, "popup+center+text" 3. compare time out event before this patch and after. @fix Reviewers: herb, singh.amitesh, Hermet, cedric, raster, jpeg Differential Revision: https://phab.enlightenment.org/D4780 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/bin/elementary/test_popup.c')
-rw-r--r--src/bin/elementary/test_popup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/elementary/test_popup.c b/src/bin/elementary/test_popup.c
index dc1274ec82..7de258836b 100644
--- a/src/bin/elementary/test_popup.c
+++ b/src/bin/elementary/test_popup.c
@@ -134,7 +134,7 @@ _popup_center_text_cb(void *data, Evas_Object *obj EINA_UNUSED,
elm_object_text_set(popup, "This Popup has content area and "
"timeout value is 3 seconds");
elm_popup_timeout_set(popup, 3.0);
- evas_object_smart_callback_add(popup, "timeout", _response_cb, popup);
+ evas_object_smart_callback_add(popup, "dismissed", _response_cb, popup);
evas_object_event_callback_add(popup, EVAS_CALLBACK_KEY_DOWN,
_popup_key_down_cb, NULL);