forked from enlightenment/efl
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
This commit is contained in:
parent
1bd513305e
commit
e58e00b08a
|
@ -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));
|
obj = efl_constructor(efl_super(obj, ELM_INDEX_ITEM_CLASS));
|
||||||
it->base = efl_data_scope_get(obj, ELM_WIDGET_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;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue