forked from enlightenment/efl
elm: set accurate access role for elm_icon
Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5453
This commit is contained in:
parent
2ea179d373
commit
b9f31b1836
|
@ -615,7 +615,7 @@ _elm_icon_efl_object_constructor(Eo *obj, Elm_Icon_Data *sd)
|
|||
|
||||
efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY);
|
||||
evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks);
|
||||
efl_access_role_set(obj, EFL_ACCESS_ROLE_IMAGE);
|
||||
efl_access_role_set(obj, EFL_ACCESS_ROLE_ICON);
|
||||
|
||||
return obj;
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ START_TEST (elm_atspi_role_get)
|
|||
icon = elm_icon_add(win);
|
||||
role = efl_access_role_get(icon);
|
||||
|
||||
ck_assert(role == EFL_ACCESS_ROLE_IMAGE);
|
||||
ck_assert(role == EFL_ACCESS_ROLE_ICON);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue