forked from enlightenment/efl
elm: evaluate MULTISELECTABLE state for genlist and gengrid
Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5452
This commit is contained in:
parent
b9f31b1836
commit
6505f535f6
|
@ -5606,6 +5606,9 @@ _elm_gengrid_efl_access_state_set_get(Eo *obj, Elm_Gengrid_Data *sd EINA_UNUSED)
|
|||
|
||||
STATE_TYPE_SET(ret, EFL_ACCESS_STATE_MANAGES_DESCENDANTS);
|
||||
|
||||
if (elm_gengrid_multi_select_get(obj))
|
||||
STATE_TYPE_SET(ret, EFL_ACCESS_STATE_MULTISELECTABLE);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -8634,6 +8634,9 @@ _elm_genlist_efl_access_state_set_get(Eo *obj, Elm_Genlist_Data *sd EINA_UNUSED)
|
|||
|
||||
STATE_TYPE_SET(ret, EFL_ACCESS_STATE_MANAGES_DESCENDANTS);
|
||||
|
||||
if (elm_genlist_multi_select_get(obj))
|
||||
STATE_TYPE_SET(ret, EFL_ACCESS_STATE_MULTISELECTABLE);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue