list: set atspi parent despite atspi mode.
Path fixes failing test case when atspi mode was off.
This commit is contained in:
parent
56ef8c18ae
commit
6b49c30cd0
|
@ -2337,6 +2337,7 @@ _item_new(Evas_Object *obj,
|
|||
evas_object_event_callback_add
|
||||
(it->icon, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _size_hints_changed_cb,
|
||||
obj);
|
||||
eo_do(it->icon, elm_interface_atspi_accessible_parent_set(eo_it));
|
||||
}
|
||||
if (it->end)
|
||||
{
|
||||
|
@ -2344,14 +2345,11 @@ _item_new(Evas_Object *obj,
|
|||
evas_object_event_callback_add
|
||||
(it->end, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _size_hints_changed_cb,
|
||||
obj);
|
||||
eo_do(it->end, elm_interface_atspi_accessible_parent_set(eo_it));
|
||||
}
|
||||
|
||||
if (_elm_config->atspi_mode)
|
||||
{
|
||||
if (it->end) eo_do(it->end, elm_interface_atspi_accessible_parent_set(eo_it));
|
||||
if (it->icon) eo_do(it->icon, elm_interface_atspi_accessible_parent_set(eo_it));
|
||||
elm_interface_atspi_accessible_added(eo_it);
|
||||
}
|
||||
|
||||
return it;
|
||||
}
|
||||
|
|
|
@ -241,6 +241,6 @@ void elm_test_list(TCase *tc)
|
|||
tcase_add_test(tc, elm_list_atspi_selection_all_children_select);
|
||||
tcase_add_test(tc, elm_list_atspi_selection_clear);
|
||||
tcase_add_test(tc, elm_list_atspi_selection_child_deselect);
|
||||
tcase_add_test(tc, elm_atspi_children_parent);
|
||||
#endif
|
||||
tcase_add_test(tc, elm_atspi_children_parent);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue