hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=b7eac0a92f1ccc0356a22fd2e57dac9af77f0436

commit b7eac0a92f1ccc0356a22fd2e57dac9af77f0436
Author: Jee-Yong Um <con...@gmail.com>
Date:   Fri Mar 20 14:14:02 2015 +0900

    elc_popup: Fix to make popup get proper size
    
    Summary:
    There is a bug that popup can't get proper size when list is set as its 
content.
    Because of unneccesary calling evas_object_show() in popup's overriding 
elm_obj_container_content_set(),
    sizing eval doens't work correctly.
    This patch fixes this bug.
    
    Test Plan:
    Execute 14th popup sample in "elementary_test popup".
    (popup-center-title + list content + 1 button)
    After applying this patch, popup shows correctly.
    
    Reviewers: seoz, Hermet
    
    Reviewed By: Hermet
    
    Subscribers: Hermet, seoz
    
    Differential Revision: https://phab.enlightenment.org/D2158
---
 src/lib/elc_popup.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c
index 0329e23..e0fdd9c 100644
--- a/src/lib/elc_popup.c
+++ b/src/lib/elc_popup.c
@@ -1020,7 +1020,6 @@ _content_set(Evas_Object *obj,
 
         eo_do(sd->content_area, elm_obj_container_content_set
           (CONTENT_PART, content));
-        evas_object_show(content);
 
         evas_object_event_callback_add
           (content, EVAS_CALLBACK_DEL, _on_content_del, obj);

-- 


Reply via email to