elm_notify: added the notify's edje of popup smart member

Summary: after popup layout refactoring, the popup object cant get evas event.

Test Plan:
1. added popup object.
2. key down event callback add for popup object.
3. run the elementary_test.
4. input some key on popup and check whether the registered function is executed or not.

Reviewers: seoz, eunue, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D1688
This commit is contained in:
woochan lee 2014-11-24 14:31:05 +09:00 committed by ChunEon Park
parent 805590526e
commit 8458f6da2c
1 changed files with 1 additions and 0 deletions

View File

@ -449,6 +449,7 @@ _elm_notify_evas_object_smart_add(Eo *obj, Elm_Notify_Data *priv)
priv->allow_events = EINA_TRUE;
priv->notify = edje_object_add(evas_object_evas_get(obj));
evas_object_smart_member_add(priv->notify, obj);
evas_object_event_callback_add
(obj, EVAS_CALLBACK_RESTACK, _restack_cb, obj);