summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_widget.c')
-rw-r--r--src/lib/elementary/efl_ui_widget.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/lib/elementary/efl_ui_widget.c b/src/lib/elementary/efl_ui_widget.c
index eec2bde..7f4b0bd 100644
--- a/src/lib/elementary/efl_ui_widget.c
+++ b/src/lib/elementary/efl_ui_widget.c
@@ -1576,7 +1576,7 @@ _efl_ui_widget_widget_sub_object_add(Eo *obj, Elm_Widget_Smart_Data *sd, Evas_Ob
1576 if (_elm_config->atspi_mode && !sd->on_create) 1576 if (_elm_config->atspi_mode && !sd->on_create)
1577 { 1577 {
1578 Efl_Access_Object *aparent; 1578 Efl_Access_Object *aparent;
1579 aparent = efl_provider_find(efl_parent_get(sobj), EFL_ACCESS_OBJECT_MIXIN); 1579 aparent = efl_provider_find(efl_parent_get(sobj), EFL_ACCESS_OBJECT_CLASS);
1580 if (aparent) 1580 if (aparent)
1581 efl_access_children_changed_added_signal_emit(aparent, sobj); 1581 efl_access_children_changed_added_signal_emit(aparent, sobj);
1582 } 1582 }
@@ -1654,7 +1654,7 @@ _efl_ui_widget_widget_sub_object_del(Eo *obj, Elm_Widget_Smart_Data *sd, Evas_Ob
1654 if (_elm_config->atspi_mode && !sd->on_destroy) 1654 if (_elm_config->atspi_mode && !sd->on_destroy)
1655 { 1655 {
1656 Efl_Access_Object *aparent; 1656 Efl_Access_Object *aparent;
1657 aparent = efl_provider_find(efl_parent_get(sobj), EFL_ACCESS_OBJECT_MIXIN); 1657 aparent = efl_provider_find(efl_parent_get(sobj), EFL_ACCESS_OBJECT_CLASS);
1658 if (aparent) 1658 if (aparent)
1659 efl_access_children_changed_del_signal_emit(aparent, sobj); 1659 efl_access_children_changed_del_signal_emit(aparent, sobj);
1660 } 1660 }
@@ -4028,6 +4028,9 @@ _elm_widget_item_efl_object_constructor(Eo *eo_item, Elm_Widget_Item_Data *item)
4028 item->eo_obj = eo_item; 4028 item->eo_obj = eo_item;
4029 efl_event_callback_add(eo_item, EFL_EVENT_DEL, _efl_del_cb, NULL); 4029 efl_event_callback_add(eo_item, EFL_EVENT_DEL, _efl_del_cb, NULL);
4030 4030
4031 Efl_Access_Object *access = efl_add(EFL_ACCESS_OBJECT_CLASS, eo_item);
4032 efl_composite_attach(eo_item, access);
4033
4031 return eo_item; 4034 return eo_item;
4032} 4035}
4033 4036
@@ -5342,6 +5345,8 @@ _efl_ui_widget_efl_object_constructor(Eo *obj, Elm_Widget_Smart_Data *sd EINA_UN
5342 efl_ui_widget_parent_set(obj, parent); 5345 efl_ui_widget_parent_set(obj, parent);
5343 sd->on_create = EINA_FALSE; 5346 sd->on_create = EINA_FALSE;
5344 5347
5348 Efl_Access_Object *access = efl_add(EFL_ACCESS_OBJECT_CLASS, obj);
5349 efl_composite_attach(obj, access);
5345 efl_access_object_role_set(obj, EFL_ACCESS_ROLE_UNKNOWN); 5350 efl_access_object_role_set(obj, EFL_ACCESS_ROLE_UNKNOWN);
5346 5351
5347 return obj; 5352 return obj;
@@ -5476,7 +5481,7 @@ _efl_ui_widget_efl_access_object_access_children_get(const Eo *obj EINA_UNUSED,
5476 EINA_LIST_FOREACH(pd->subobjs, l, widget) 5481 EINA_LIST_FOREACH(pd->subobjs, l, widget)
5477 { 5482 {
5478 if (!elm_object_widget_check(widget)) continue; 5483 if (!elm_object_widget_check(widget)) continue;
5479 if (!efl_isa(widget, EFL_ACCESS_OBJECT_MIXIN)) continue; 5484 if (!efl_isa(widget, EFL_ACCESS_OBJECT_CLASS)) continue;
5480 type = efl_access_object_access_type_get(widget); 5485 type = efl_access_object_access_type_get(widget);
5481 if (type == EFL_ACCESS_TYPE_DISABLED) continue; 5486 if (type == EFL_ACCESS_TYPE_DISABLED) continue;
5482 if (type == EFL_ACCESS_TYPE_SKIPPED) 5487 if (type == EFL_ACCESS_TYPE_SKIPPED)
@@ -5624,7 +5629,7 @@ _efl_ui_widget_efl_object_provider_find(const Eo *obj, Elm_Widget_Smart_Data *pd
5624 if ((klass == EFL_CONFIG_INTERFACE) || (klass == EFL_CONFIG_GLOBAL_CLASS)) 5629 if ((klass == EFL_CONFIG_INTERFACE) || (klass == EFL_CONFIG_GLOBAL_CLASS))
5625 return _efl_config_obj; 5630 return _efl_config_obj;
5626 5631
5627 if (klass == EFL_ACCESS_OBJECT_MIXIN) 5632 if (klass == EFL_ACCESS_OBJECT_CLASS)
5628 { 5633 {
5629 Efl_Access_Type type = efl_access_object_access_type_get(obj); 5634 Efl_Access_Type type = efl_access_object_access_type_get(obj);
5630 if (type != EFL_ACCESS_TYPE_SKIPPED) 5635 if (type != EFL_ACCESS_TYPE_SKIPPED)