ami pushed a commit to branch master.

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

commit 3b25de322fa82be9525850cd4f5676bd4643ff2d
Author: Amitesh Singh <amitesh...@samsung.com>
Date:   Wed Aug 5 15:04:30 2015 +0530

    test_popup: set popup content correctly
    
    internal object content_area was not swallowed into popup
    since elm_object_part_content_set() was used.
    
    Steps to reproduce:
    1. clouseau elementary_test -to popup
    2. open subpopup example.
    3. observe orphan content_area object in clouseau widget list.
---
 src/bin/test_popup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/test_popup.c b/src/bin/test_popup.c
index 32712ac..a2e576c 100644
--- a/src/bin/test_popup.c
+++ b/src/bin/test_popup.c
@@ -692,7 +692,7 @@ _subpopup_cb(void *data, Evas_Object *obj EINA_UNUSED,
    // button as a popup content
    btn = elm_button_add(popup);
    elm_object_text_set(btn, "content");
-   elm_object_part_content_set(popup, "elm.swallow.content", btn);
+   elm_object_content_set(popup, btn);
 
    // popup buttons
    btn = elm_button_add(popup);

-- 


Reply via email to