jaehyun pushed a commit to branch master.


commit 5a9de80061bbe2d7addb96277d455f813941b0ac
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Wed Feb 24 19:22:43 2016 +0900

    edj_viewer: Fix to highlight part for newly created group.
    Part of new group is highlighted before new group is loaded into layout.
    So after loading new group, part of new group is not highlighted.
    To fix this issue, part of new group is highlighted after new group is
    loaded into layout.
 src/lib/edj_viewer.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/edj_viewer.c b/src/lib/edj_viewer.c
index d9911f4..1c0b998 100644
--- a/src/lib/edj_viewer.c
+++ b/src/lib/edj_viewer.c
@@ -157,6 +157,8 @@ view_obj_create_post_job(view_data *vd)
    if (!vd->edj_monitor) EINA_LOG_ERR("Failed to add Eio_Monitor");
+   if (vd->part_name) view_part_highlight_set(vd, vd->part_name);
    Eina_Bool ret;
    if (eo_do_ret(vd->enventor, ret, enventor_obj_dummy_parts_get()))
@@ -493,7 +495,6 @@ view_obj_idler_cb(void *data)
    elm_object_content_set(vd->scroller, vd->base);
    vd->idler = NULL;
-   if (vd->part_name) view_part_highlight_set(vd, vd->part_name);


Reply via email to