jaehyun pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=4d72aee9ddb1a3e439bad00c9b6b24f5274d2798

commit 4d72aee9ddb1a3e439bad00c9b6b24f5274d2798
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Wed Feb 24 17:11:53 2016 +0900

    edj_viewer: Fix to show dummy swallow for newly created group.
    
    Dummy swallow of new group is created before new group is loaded into
    layout. So dummy swallow of new group is not displayed.
    To fix this issue, dummy swallow is created after new group is loaded
    into layout.
---
 src/lib/edj_viewer.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/lib/edj_viewer.c b/src/lib/edj_viewer.c
index c12c002..3a15658 100644
--- a/src/lib/edj_viewer.c
+++ b/src/lib/edj_viewer.c
@@ -153,6 +153,11 @@ view_obj_create_post_job(view_data *vd)
    vd->edj_monitor = eio_monitor_add(build_edj_path_get());
    if (!vd->edj_monitor) EINA_LOG_ERR("Failed to add Eio_Monitor");
    view_obj_min_update(vd);
+
+   Eina_Bool ret;
+   if (eo_do_ret(vd->enventor, ret, enventor_obj_dummy_parts_get()))
+     dummy_obj_new(vd->layout);
+
    evas_object_smart_callback_call(vd->enventor, SIG_LIVE_VIEW_LOADED,
                                    (void*)edj_mgr_obj_get());
    view_images_monitor_set(vd);
@@ -484,10 +489,6 @@ view_obj_idler_cb(void *data)
                                vd->layout);
    elm_object_content_set(vd->scroller, vd->base);
 
-   Eina_Bool ret;
-   if (eo_do_ret(vd->enventor, ret, enventor_obj_dummy_parts_get()))
-     dummy_obj_new(vd->layout);
-
    vd->idler = NULL;
    if (vd->part_name) view_part_highlight_set(vd, vd->part_name);
 

-- 


Reply via email to