summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elc_popup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c
index cdbfaf3ee..34b50a17c 100644
--- a/src/lib/elc_popup.c
+++ b/src/lib/elc_popup.c
@@ -80,7 +80,8 @@ _on_show(void *data __UNUSED__,
80 80
81 evas_object_show(sd->notify); 81 evas_object_show(sd->notify);
82 82
83 /* yeah, ugly, but again, this widget needs a rewrite */ 83/* FIXME: Should be rewritten popup. This code is for arranging child-parent relation well. Without this code, Popup't top parent will be notify. And there will be no parent for notify. Terrible! */
84 elm_widget_sub_object_add(elm_widget_parent_get(obj), sd->notify);
84 elm_object_content_set(sd->notify, obj); 85 elm_object_content_set(sd->notify, obj);
85 86
86 elm_object_focus_set(obj, EINA_TRUE); 87 elm_object_focus_set(obj, EINA_TRUE);