forked from enlightenment/enventor
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.
This commit is contained in:
parent
af1591100c
commit
4d72aee9dd
|
@ -153,6 +153,11 @@ view_obj_create_post_job(view_data *vd)
|
||||||
vd->edj_monitor = eio_monitor_add(build_edj_path_get());
|
vd->edj_monitor = eio_monitor_add(build_edj_path_get());
|
||||||
if (!vd->edj_monitor) EINA_LOG_ERR("Failed to add Eio_Monitor");
|
if (!vd->edj_monitor) EINA_LOG_ERR("Failed to add Eio_Monitor");
|
||||||
view_obj_min_update(vd);
|
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,
|
evas_object_smart_callback_call(vd->enventor, SIG_LIVE_VIEW_LOADED,
|
||||||
(void*)edj_mgr_obj_get());
|
(void*)edj_mgr_obj_get());
|
||||||
view_images_monitor_set(vd);
|
view_images_monitor_set(vd);
|
||||||
|
@ -484,10 +489,6 @@ view_obj_idler_cb(void *data)
|
||||||
vd->layout);
|
vd->layout);
|
||||||
elm_object_content_set(vd->scroller, vd->base);
|
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;
|
vd->idler = NULL;
|
||||||
if (vd->part_name) view_part_highlight_set(vd, vd->part_name);
|
if (vd->part_name) view_part_highlight_set(vd, vd->part_name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue