aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2018-06-25 11:29:12 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-06-25 11:32:47 -0400
commit8ade8932ba5ad9ace091b1a9908c4a696de189be (patch)
tree4d091cf00852844a65416e287269b374d339f48e
parenttests: Update edje test to wrap edje_object_part_object_get with (diff)
downloadefl-8ade8932ba5ad9ace091b1a9908c4a696de189be.tar.gz
efl_ui_view_list: Wrap calls to edje_object_part_object_get with
Summary: freeze/thaw @ref https://phab.enlightenment.org/T6884 Depends on https://phab.enlightenment.org/D6404 Reviewers: zmike, ManMower Reviewed By: zmike Subscribers: bu5hm4n, cedric, #committers Tags: #efl Maniphest Tasks: https://phab.enlightenment.org/T6884 Differential Revision: https://phab.enlightenment.org/D6405
-rw-r--r--src/lib/elementary/efl_ui_view_list.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_view_list.c b/src/lib/elementary/efl_ui_view_list.c
index 8af043a0e7..ca31058401 100644
--- a/src/lib/elementary/efl_ui_view_list.c
+++ b/src/lib/elementary/efl_ui_view_list.c
@@ -605,6 +605,7 @@ _efl_ui_view_list_efl_canvas_group_group_add(Eo *obj, Efl_Ui_View_List_Data *pd)
Efl_Ui_View_List_Pan_Data *pan_data;
Eina_Size2D min = {};
Eina_Bool bounce = _elm_config->thumbscroll_bounce_enable;
+ Evas_Object *o;
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
@@ -626,7 +627,10 @@ _efl_ui_view_list_efl_canvas_group_group_add(Eo *obj, Efl_Ui_View_List_Data *pd)
efl_ui_scrollable_bounce_enabled_set(pd->scrl_mgr, bounce, bounce);
edje_object_part_swallow(wd->resize_obj, "efl.content", pd->pan_obj);
- efl_gfx_stack_raise((Eo *)edje_object_part_object_get(wd->resize_obj, "efl.dragable.vbar"));
+ edje_object_freeze(wd->resize_obj);
+ o = (Evas_Object *)edje_object_part_object_get(wd->resize_obj, "efl.dragable.vbar");
+ edje_object_thaw(wd->resize_obj);
+ efl_gfx_stack_raise((Eo *)o);
pd->mode = ELM_LIST_COMPRESS;