* Remove the back button callback if the back button is unset on the naviframe.
* Fixed a bug that naviframe's focus_next didn't work after changing evenry item to elm_layout.
* Entry: Fixed a bug with text appending.
+ * Fixed a bug in elm_list. Focus_next is needed only when access mode is enabled.
Removals:
*ret = EINA_TRUE;
}
+static Eina_Bool _elm_list_smart_focus_next_enable = EINA_FALSE;
+
static void
_elm_list_smart_focus_direction_manager_is(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list *list)
{
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
- *ret = EINA_FALSE;
+ *ret = _elm_list_smart_focus_next_enable;
}
static void
_elm_list_smart_focus_next(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
_elm_list_smart_access(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
{
Elm_List_Smart_Data *sd = _pd;
- int is_access = va_arg(*list, int);
+ _elm_list_smart_focus_next_enable = va_arg(*list, int);
Eina_List *elist = NULL;
Elm_List_Item *it;
EINA_LIST_FOREACH(sd->items, elist, it)
- _access_widget_item_register(it, is_access);
+ _access_widget_item_register(it, _elm_list_smart_focus_next_enable);
}
EAPI Evas_Object *
};
eo_class_funcs_set(klass, func_desc);
+ if (_elm_config->access_mode)
+ _elm_list_smart_focus_next_enable = EINA_TRUE;
+
evas_smart_legacy_type_register(MY_CLASS_NAME, klass);
}