aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-04-26 14:23:58 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-04-30 20:45:41 +0200
commit6acb4585b415e32473940bec4ec11d6995a5e5a0 (patch)
tree0894949d9e9c6591d7dd71e573c07f1c73043dc4
parentefl_ui: add a internal flag to mark widgets internal (diff)
downloadefl-6acb4585b415e32473940bec4ec11d6995a5e5a0.tar.gz
efl_ui_pager: mark box internal
otherwise they will adjust the parent property, and we do not want to have that. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8737
-rw-r--r--src/lib/elementary/efl_ui_pager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_pager.c b/src/lib/elementary/efl_ui_pager.c
index efa77f8314..1566da560e 100644
--- a/src/lib/elementary/efl_ui_pager.c
+++ b/src/lib/elementary/efl_ui_pager.c
@@ -360,6 +360,7 @@ _efl_ui_pager_efl_object_constructor(Eo *obj,
efl_event_callback_add(pd->page_root, EFL_GFX_ENTITY_EVENT_POSITION_CHANGED, _move_cb, pd);
pd->page_box = efl_add(EFL_UI_BOX_CLASS, obj);
+ efl_ui_widget_internal_set(pd->page_box, EINA_TRUE);
efl_canvas_group_member_add(pd->page_root, pd->page_box);
pd->foreclip = efl_add(EFL_CANVAS_RECTANGLE_CLASS,
@@ -681,6 +682,7 @@ _efl_ui_pager_indicator_set(Eo *obj EINA_UNUSED,
if (!pd->idbox)
{
pd->idbox = efl_add(EFL_UI_BOX_CLASS, obj);
+ efl_ui_widget_internal_set(pd->idbox, EINA_TRUE);
efl_content_set(efl_part(obj, "efl.indicator"), pd->idbox);
}