From 092b8b803924b87ab72dcc78a82ae49763b24919 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Wed, 27 Sep 2017 01:34:57 +0200 Subject: [PATCH] elm_diskselector: remove old api! --- src/lib/elementary/elm_diskselector.c | 32 -------------------------------- src/lib/elementary/elm_diskselector.eo | 2 -- 2 files changed, 34 deletions(-) diff --git a/src/lib/elementary/elm_diskselector.c b/src/lib/elementary/elm_diskselector.c index cc72466..2ce14d4 100644 --- a/src/lib/elementary/elm_diskselector.c +++ b/src/lib/elementary/elm_diskselector.c @@ -923,38 +923,6 @@ _elm_diskselector_elm_widget_on_focus_update(Eo *obj, Elm_Diskselector_Data *_pd static Eina_Bool _elm_diskselector_smart_focus_next_enable = EINA_FALSE; -EOLIAN static Eina_Bool -_elm_diskselector_elm_widget_focus_next_manager_is(Eo *obj EINA_UNUSED, Elm_Diskselector_Data *_pd EINA_UNUSED) -{ - return _elm_diskselector_smart_focus_next_enable; -} - -EOLIAN static Eina_Bool -_elm_diskselector_elm_widget_focus_next(Eo *obj, Elm_Diskselector_Data *sd, Elm_Focus_Direction dir, Evas_Object **next, Elm_Object_Item **next_item) -{ - Eina_List *items = NULL; - Eina_List *elist = NULL; - Elm_Diskselector_Item_Data *it; - - EINA_LIST_FOREACH(sd->items, elist, it) - items = eina_list_append(items, it->base->access_obj); - - if (!sd->round) - { - return elm_widget_focus_list_next_get - (obj, items, eina_list_data_get, dir, next, next_item); - } - - if (!elm_widget_focus_list_next_get - (obj, items, eina_list_data_get, dir, next, next_item)) - { - elm_obj_widget_focused_object_clear((Evas_Object *)obj); - elm_widget_focus_list_next_get - (obj, items, eina_list_data_get, dir, next, next_item); - } - return EINA_TRUE; -} - static Eina_Bool _key_action_move(Evas_Object *obj, const char *params) { diff --git a/src/lib/elementary/elm_diskselector.eo b/src/lib/elementary/elm_diskselector.eo index e65099b..8cee8dc 100644 --- a/src/lib/elementary/elm_diskselector.eo +++ b/src/lib/elementary/elm_diskselector.eo @@ -201,9 +201,7 @@ class Elm.Diskselector (Elm.Widget, Elm.Interface_Scrollable, Efl.Gfx.position { set; } Efl.Gfx.size { set; } Efl.Canvas.Group.group_member_add; - Elm.Widget.focus_next_manager_is; Elm.Widget.on_access_update; - Elm.Widget.focus_next; Elm.Widget.theme_apply; Elm.Widget.on_focus_update; Efl.Ui.Translatable.translation_update; -- 2.7.4