summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2017-11-13 12:08:57 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-13 12:08:57 +0900
commit6505f535f681bbca21c7f60878fe13414641b8f8 (patch)
tree6b2a7ff22d8bf796db019438682a800ee2aeb2d1 /src
parentb9f31b183608ab4b29fc8741e1d7f9283d07a6b6 (diff)
elm: evaluate MULTISELECTABLE state for genlist and gengrid
Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5452
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/elm_gengrid.c3
-rw-r--r--src/lib/elementary/elm_genlist.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c
index 69d53dc8cf..025db3035e 100644
--- a/src/lib/elementary/elm_gengrid.c
+++ b/src/lib/elementary/elm_gengrid.c
@@ -5606,6 +5606,9 @@ _elm_gengrid_efl_access_state_set_get(Eo *obj, Elm_Gengrid_Data *sd EINA_UNUSED)
5606 5606
5607 STATE_TYPE_SET(ret, EFL_ACCESS_STATE_MANAGES_DESCENDANTS); 5607 STATE_TYPE_SET(ret, EFL_ACCESS_STATE_MANAGES_DESCENDANTS);
5608 5608
5609 if (elm_gengrid_multi_select_get(obj))
5610 STATE_TYPE_SET(ret, EFL_ACCESS_STATE_MULTISELECTABLE);
5611
5609 return ret; 5612 return ret;
5610} 5613}
5611 5614
diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c
index 25aa0b1bd5..6fb54d3b2b 100644
--- a/src/lib/elementary/elm_genlist.c
+++ b/src/lib/elementary/elm_genlist.c
@@ -8634,6 +8634,9 @@ _elm_genlist_efl_access_state_set_get(Eo *obj, Elm_Genlist_Data *sd EINA_UNUSED)
8634 8634
8635 STATE_TYPE_SET(ret, EFL_ACCESS_STATE_MANAGES_DESCENDANTS); 8635 STATE_TYPE_SET(ret, EFL_ACCESS_STATE_MANAGES_DESCENDANTS);
8636 8636
8637 if (elm_genlist_multi_select_get(obj))
8638 STATE_TYPE_SET(ret, EFL_ACCESS_STATE_MULTISELECTABLE);
8639
8637 return ret; 8640 return ret;
8638} 8641}
8639 8642