elm_box,grid,table: take the resize object as evas object

This commit is contained in:
Marcel Hollerbach 2016-12-21 19:30:21 +01:00
parent 8c8570ba6a
commit eb88bbe63d
3 changed files with 6 additions and 9 deletions

View File

@ -25,9 +25,8 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = {
static void
_focus_order_flush(Eo *obj, Elm_Box_Data *pd EINA_UNUSED)
{
Elm_Widget_Smart_Data *wpd;
Eina_List *order = evas_object_box_children_get(obj);
wpd = efl_data_scope_get(obj, ELM_WIDGET_CLASS);
Elm_Widget_Smart_Data *wpd = efl_data_scope_get(obj, ELM_WIDGET_CLASS);
Eina_List *order = evas_object_box_children_get(wpd->resize_obj);
efl_ui_focus_manager_update_children(wpd->focus.manager, obj, order, EINA_TRUE);
}

View File

@ -16,9 +16,8 @@
static void
_focus_order_flush(Eo *obj)
{
Elm_Widget_Smart_Data *wpd;
Eina_List *order = evas_object_grid_children_get(obj);
wpd = efl_data_scope_get(obj, ELM_WIDGET_CLASS);
Elm_Widget_Smart_Data *wpd = efl_data_scope_get(obj, ELM_WIDGET_CLASS);
Eina_List *order = evas_object_grid_children_get(wpd->resize_obj);
efl_ui_focus_manager_update_children(wpd->focus.manager, obj, order, EINA_TRUE);
}

View File

@ -17,9 +17,8 @@
static void
_focus_order_flush(Eo *obj)
{
Elm_Widget_Smart_Data *wpd;
Eina_List *order = evas_object_table_children_get(obj);
wpd = efl_data_scope_get(obj, ELM_WIDGET_CLASS);
Elm_Widget_Smart_Data *wpd = efl_data_scope_get(obj, ELM_WIDGET_CLASS);
Eina_List *order = evas_object_table_children_get(wpd->resize_obj);
efl_ui_focus_manager_update_children(wpd->focus.manager, obj, order, EINA_TRUE);
}