summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2017-11-13 12:08:24 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-13 12:08:24 +0900
commit2ea179d3734d7abfd620a31f1458cc662d69521f (patch)
tree685c70253b30fa0f7d3b89dd41bd2e17fc39b656 /src
parentb60c3fb3ba49f854167f86a29c3686b7660e7974 (diff)
elm: set accurate access role for elm_popup
Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5454
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/elc_popup.c2
-rw-r--r--src/tests/elementary/elm_test_popup.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/elc_popup.c b/src/lib/elementary/elc_popup.c
index 3a2f221..e21c631 100644
--- a/src/lib/elementary/elc_popup.c
+++ b/src/lib/elementary/elc_popup.c
@@ -1529,7 +1529,7 @@ _elm_popup_efl_object_constructor(Eo *obj, Elm_Popup_Data *_pd EINA_UNUSED)
1529 obj = efl_constructor(efl_super(obj, MY_CLASS)); 1529 obj = efl_constructor(efl_super(obj, MY_CLASS));
1530 efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY); 1530 efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY);
1531 evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks); 1531 evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks);
1532 efl_access_role_set(obj, EFL_ACCESS_ROLE_NOTIFICATION); 1532 efl_access_role_set(obj, EFL_ACCESS_ROLE_DIALOG);
1533 1533
1534 return obj; 1534 return obj;
1535} 1535}
diff --git a/src/tests/elementary/elm_test_popup.c b/src/tests/elementary/elm_test_popup.c
index 1cd2916..17b8433 100644
--- a/src/tests/elementary/elm_test_popup.c
+++ b/src/tests/elementary/elm_test_popup.c
@@ -18,7 +18,7 @@ START_TEST (elm_atspi_role_get)
18 popup = elm_popup_add(win); 18 popup = elm_popup_add(win);
19 role = efl_access_role_get(popup); 19 role = efl_access_role_get(popup);
20 20
21 ck_assert(role == EFL_ACCESS_ROLE_NOTIFICATION); 21 ck_assert(role == EFL_ACCESS_ROLE_DIALOG);
22 22
23 elm_shutdown(); 23 elm_shutdown();
24} 24}