aboutsummaryrefslogtreecommitdiffstats
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 eec2bde180..7f4b0bd5bf 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
if (_elm_config->atspi_mode && !sd->on_create)
{
Efl_Access_Object *aparent;
- aparent = efl_provider_find(efl_parent_get(sobj), EFL_ACCESS_OBJECT_MIXIN);
+ aparent = efl_provider_find(efl_parent_get(sobj), EFL_ACCESS_OBJECT_CLASS);
if (aparent)
efl_access_children_changed_added_signal_emit(aparent, sobj);
}
@@ -1654,7 +1654,7 @@ _efl_ui_widget_widget_sub_object_del(Eo *obj, Elm_Widget_Smart_Data *sd, Evas_Ob
if (_elm_config->atspi_mode && !sd->on_destroy)
{
Efl_Access_Object *aparent;
- aparent = efl_provider_find(efl_parent_get(sobj), EFL_ACCESS_OBJECT_MIXIN);
+ aparent = efl_provider_find(efl_parent_get(sobj), EFL_ACCESS_OBJECT_CLASS);
if (aparent)
efl_access_children_changed_del_signal_emit(aparent, sobj);
}
@@ -4028,6 +4028,9 @@ _elm_widget_item_efl_object_constructor(Eo *eo_item, Elm_Widget_Item_Data *item)
item->eo_obj = eo_item;
efl_event_callback_add(eo_item, EFL_EVENT_DEL, _efl_del_cb, NULL);
+ Efl_Access_Object *access = efl_add(EFL_ACCESS_OBJECT_CLASS, eo_item);
+ efl_composite_attach(eo_item, access);
+
return eo_item;
}
@@ -5342,6 +5345,8 @@ _efl_ui_widget_efl_object_constructor(Eo *obj, Elm_Widget_Smart_Data *sd EINA_UN
efl_ui_widget_parent_set(obj, parent);
sd->on_create = EINA_FALSE;
+ Efl_Access_Object *access = efl_add(EFL_ACCESS_OBJECT_CLASS, obj);
+ efl_composite_attach(obj, access);
efl_access_object_role_set(obj, EFL_ACCESS_ROLE_UNKNOWN);
return obj;
@@ -5476,7 +5481,7 @@ _efl_ui_widget_efl_access_object_access_children_get(const Eo *obj EINA_UNUSED,
EINA_LIST_FOREACH(pd->subobjs, l, widget)
{
if (!elm_object_widget_check(widget)) continue;
- if (!efl_isa(widget, EFL_ACCESS_OBJECT_MIXIN)) continue;
+ if (!efl_isa(widget, EFL_ACCESS_OBJECT_CLASS)) continue;
type = efl_access_object_access_type_get(widget);
if (type == EFL_ACCESS_TYPE_DISABLED) continue;
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
if ((klass == EFL_CONFIG_INTERFACE) || (klass == EFL_CONFIG_GLOBAL_CLASS))
return _efl_config_obj;
- if (klass == EFL_ACCESS_OBJECT_MIXIN)
+ if (klass == EFL_ACCESS_OBJECT_CLASS)
{
Efl_Access_Type type = efl_access_object_access_type_get(obj);
if (type != EFL_ACCESS_TYPE_SKIPPED)