Summary:
This patch provides proper parent-child relationship for elm_list and elm_toolbar
while atsapi_mode is set for icon and end element.
This patch is moved from:
bf188e59431ad9c4ca877b2632884d3d430de6b1
Change-Id: Iae855aacf29bef3808a0b5ec159f46cbf0f4539d
Reviewers: stanluk, cedric
Reviewed By: cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4259
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
VIEW(it) = edje_object_add(evas_object_evas_get(obj));
edje_object_update_hints_set(VIEW(it), 1);
+ if (_elm_config->atspi_mode)
+ {
+ if (it->icon) elm_interface_atspi_accessible_parent_set(it->icon, eo_it);
+ if (it->end) elm_interface_atspi_accessible_parent_set(it->end, eo_it);
+ }
+
/* access */
if (_elm_config->access_mode == ELM_ACCESS_MODE_ON)
_access_widget_item_register(it, EINA_TRUE);
icon_obj = elm_icon_add(VIEW(it));
+ if (_elm_config->atspi_mode)
+ if (icon_obj) elm_interface_atspi_accessible_parent_set(icon_obj, eo_it);
+
if (_elm_config->access_mode == ELM_ACCESS_MODE_ON)
_access_widget_item_register(it);