atspi: add MULTISELECTABLE states for genlist and gengrid 01/65701/2
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Fri, 11 Sep 2015 14:43:10 +0000 (16:43 +0200)
committerPrasoon Singh <prasoon.16@samsung.com>
Tue, 12 Apr 2016 12:07:15 +0000 (05:07 -0700)
Change-Id: If438a21470eb0cff0692877d90ce9d186e015a72

src/lib/elm_gengrid.c
src/lib/elm_genlist.c

index f153e23..7e2cd15 100644 (file)
@@ -5724,6 +5724,9 @@ _elm_gengrid_elm_interface_atspi_accessible_state_set_get(Eo *obj, Elm_Gengrid_D
 
    STATE_TYPE_SET(ret, ELM_ATSPI_STATE_MANAGES_DESCENDANTS);
 
+   if (elm_gengrid_multi_select_get(obj))
+     STATE_TYPE_SET(ret, ELM_ATSPI_STATE_MULTISELECTABLE);
+
    return ret;
 }
 
index 2fd82a8..1a2d208 100644 (file)
@@ -8274,6 +8274,9 @@ _elm_genlist_elm_interface_atspi_accessible_state_set_get(Eo *obj, Elm_Genlist_D
 
    STATE_TYPE_SET(ret, ELM_ATSPI_STATE_MANAGES_DESCENDANTS);
 
+   if (elm_genlist_multi_select_get(obj))
+     STATE_TYPE_SET(ret, ELM_ATSPI_STATE_MULTISELECTABLE);
+
    return ret;
 }