summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2015-06-11 10:57:23 +0200
committerLukasz Stanislawski <l.stanislaws@samsung.com>2015-06-11 11:00:27 +0200
commitb3dab84df131bbffbc795b602a9b2c255e0497ee (patch)
tree7d707565732034118ca970ff7eae1399a25725ca
parent0e126b7091edcd9bd905fdbbe5b4f7d04f569586 (diff)
list: add atspi SELECTABLE state to elm_list items.
-rw-r--r--src/lib/elm_list.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c
index ab7a49ac7..1ee5915d3 100644
--- a/src/lib/elm_list.c
+++ b/src/lib/elm_list.c
@@ -2170,8 +2170,13 @@ _elm_list_item_elm_interface_atspi_accessible_state_set_get(Eo *eo_it, Elm_List_
2170 Eina_Bool sel; 2170 Eina_Bool sel;
2171 2171
2172 eo_do_super(eo_it, ELM_LIST_ITEM_CLASS, ret = elm_interface_atspi_accessible_state_set_get()); 2172 eo_do_super(eo_it, ELM_LIST_ITEM_CLASS, ret = elm_interface_atspi_accessible_state_set_get());
2173 eo_do(eo_it, sel = elm_obj_list_item_selected_get());
2174 2173
2174 if (elm_object_item_disabled_get(eo_it))
2175 return ret;
2176
2177 STATE_TYPE_SET(ret, ELM_ATSPI_STATE_SELECTABLE);
2178
2179 eo_do(eo_it, sel = elm_obj_list_item_selected_get());
2175 if (sel) 2180 if (sel)
2176 STATE_TYPE_SET(ret, ELM_ATSPI_STATE_SELECTED); 2181 STATE_TYPE_SET(ret, ELM_ATSPI_STATE_SELECTED);
2177 else 2182 else