elementary/popup - a workaround code to prevent a popup lost it's parent.

Terrible. Should be totally rewritten.



SVN revision: 83975
This commit is contained in:
ChunEon Park 2013-02-16 08:52:10 +00:00
parent 541ce8f603
commit f9734b72e0
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ _on_show(void *data __UNUSED__,
evas_object_show(sd->notify);
/* yeah, ugly, but again, this widget needs a rewrite */
/* 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! */
elm_widget_sub_object_add(elm_widget_parent_get(obj), sd->notify);
elm_object_content_set(sd->notify, obj);
elm_object_focus_set(obj, EINA_TRUE);