elm: set accurate access role for elm_popup

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5454
This commit is contained in:
Lukasz Stanislawski 2017-11-13 12:08:24 +09:00 committed by Jean-Philippe Andre
parent b60c3fb3ba
commit 2ea179d373
2 changed files with 2 additions and 2 deletions

View File

@ -1529,7 +1529,7 @@ _elm_popup_efl_object_constructor(Eo *obj, Elm_Popup_Data *_pd EINA_UNUSED)
obj = efl_constructor(efl_super(obj, MY_CLASS));
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_NOTIFICATION);
efl_access_role_set(obj, EFL_ACCESS_ROLE_DIALOG);
return obj;
}

View File

@ -18,7 +18,7 @@ START_TEST (elm_atspi_role_get)
popup = elm_popup_add(win);
role = efl_access_role_get(popup);
ck_assert(role == EFL_ACCESS_ROLE_NOTIFICATION);
ck_assert(role == EFL_ACCESS_ROLE_DIALOG);
elm_shutdown();
}