From e58e00b08a51b65974c3ff201c535338926ab19b Mon Sep 17 00:00:00 2001 From: Shilpa Singh Date: Fri, 17 Nov 2017 10:18:18 +0900 Subject: [PATCH] elm_index: Index item role modify Summary: Modified index item role to EFL_ACCESS_ROLE_RADIO_MENU_ITEM from EFL_ACCESS_ROLE_PUSH_BUTTON as index item should maintain its current state. Test Plan: Query the role of index item from atspi client, ATSPI_ROLE_RADIO_MENU_ITEM role should be returned. Reviewers: kimcinoo Reviewed By: kimcinoo Subscribers: cedric, govi, rajeshps, jpeg Differential Revision: https://phab.enlightenment.org/D5486 --- src/lib/elementary/elm_index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_index.c b/src/lib/elementary/elm_index.c index 0065be77e0..ccc08a1a18 100644 --- a/src/lib/elementary/elm_index.c +++ b/src/lib/elementary/elm_index.c @@ -544,7 +544,7 @@ _elm_index_item_efl_object_constructor(Eo *obj, Elm_Index_Item_Data *it) { obj = efl_constructor(efl_super(obj, ELM_INDEX_ITEM_CLASS)); it->base = efl_data_scope_get(obj, ELM_WIDGET_ITEM_CLASS); - efl_access_role_set(obj, EFL_ACCESS_ROLE_PUSH_BUTTON); + efl_access_role_set(obj, EFL_ACCESS_ROLE_RADIO_MENU_ITEM); return obj; }