seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=3559a7d2ca62ff366fe5942e6a882b9993495fc1

commit 3559a7d2ca62ff366fe5942e6a882b9993495fc1
Author: Daniel Juyung Seo <[email protected]>
Date:   Sun Apr 27 11:21:46 2014 +0900

    genlist: renamed internal function according to the key binding adoption.
---
 src/lib/elm_genlist.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 22785ba..e3c049e 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -2580,7 +2580,7 @@ _elm_genlist_item_content_focus_set(Elm_Gen_Item *it, 
Elm_Focus_Direction dir)
 }
 
 static Eina_Bool
-_elm_genlist_elm_widget_event_direction(Evas_Object *obj, Elm_Focus_Direction 
dir, Eina_Bool multi)
+_key_action_move_dir(Evas_Object *obj, Elm_Focus_Direction dir, Eina_Bool 
multi)
 {
    ELM_GENLIST_DATA_GET(obj, sd);
    Elm_Object_Item *it = NULL;
@@ -2681,24 +2681,24 @@ _key_action_move(Evas_Object *obj, const char *params)
      }
    else if (!strcmp(dir, "up"))
      {
-        if (_elm_genlist_elm_widget_event_direction(obj, ELM_FOCUS_UP, 
EINA_FALSE)) return EINA_TRUE;
+        if (_key_action_move_dir(obj, ELM_FOCUS_UP, EINA_FALSE)) return 
EINA_TRUE;
         else return EINA_FALSE;
      }
    else if (!strcmp(dir, "up_multi"))
      {
-        if (_elm_genlist_elm_widget_event_direction(obj, ELM_FOCUS_UP, 
EINA_TRUE)) return EINA_TRUE;
-        else if (_elm_genlist_elm_widget_event_direction(obj, ELM_FOCUS_UP, 
EINA_FALSE)) return EINA_TRUE;
+        if (_key_action_move_dir(obj, ELM_FOCUS_UP, EINA_TRUE)) return 
EINA_TRUE;
+        else if (_key_action_move_dir(obj, ELM_FOCUS_UP, EINA_FALSE)) return 
EINA_TRUE;
         else return EINA_FALSE;
      }
    else if (!strcmp(dir, "down"))
      {
-        if (_elm_genlist_elm_widget_event_direction(obj, ELM_FOCUS_DOWN, 
EINA_FALSE)) return EINA_TRUE;
+        if (_key_action_move_dir(obj, ELM_FOCUS_DOWN, EINA_FALSE)) return 
EINA_TRUE;
         else return EINA_FALSE;
      }
    else if (!strcmp(dir, "down_multi"))
      {
-        if (_elm_genlist_elm_widget_event_direction(obj, ELM_FOCUS_DOWN, 
EINA_TRUE)) return EINA_TRUE;
-        else if (_elm_genlist_elm_widget_event_direction(obj, ELM_FOCUS_DOWN, 
EINA_FALSE)) return EINA_TRUE;
+        if (_key_action_move_dir(obj, ELM_FOCUS_DOWN, EINA_TRUE)) return 
EINA_TRUE;
+        else if (_key_action_move_dir(obj, ELM_FOCUS_DOWN, EINA_FALSE)) return 
EINA_TRUE;
         else return EINA_FALSE;
      }
    else if (!strcmp(dir, "first"))

-- 


Reply via email to