summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2013-02-16 08:52:10 +0000
committerChunEon Park <hermet@hermet.pe.kr>2013-02-16 08:52:10 +0000
commitb01557ed92eed67ad1d4ff8dfc9954353870abb6 (patch)
tree381e302081a60d7bcbd6a6cb3614f7e6af68107a
parent6195bc6ae13b4bcc6c3574da0feb02d4a1ba9f2b (diff)
elementary/popup - a workaround code to prevent a popup lost it's parent.
Terrible. Should be totally rewritten. SVN revision: 83975
-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);