summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-04-27 11:21:46 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-04-27 11:26:53 +0900
commit3559a7d2ca62ff366fe5942e6a882b9993495fc1 (patch)
tree9091d22caf5d58124d54a0618796db28d7bc7e70 /src/lib
parentd1b0e5c94e9148ce281d2b62309c19482a654e31 (diff)
genlist: renamed internal function according to the key binding adoption.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_genlist.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 22785bac5..e3c049e00 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)
2580} 2580}
2581 2581
2582static Eina_Bool 2582static Eina_Bool
2583_elm_genlist_elm_widget_event_direction(Evas_Object *obj, Elm_Focus_Direction dir, Eina_Bool multi) 2583_key_action_move_dir(Evas_Object *obj, Elm_Focus_Direction dir, Eina_Bool multi)
2584{ 2584{
2585 ELM_GENLIST_DATA_GET(obj, sd); 2585 ELM_GENLIST_DATA_GET(obj, sd);
2586 Elm_Object_Item *it = NULL; 2586 Elm_Object_Item *it = NULL;
@@ -2681,24 +2681,24 @@ _key_action_move(Evas_Object *obj, const char *params)
2681 } 2681 }
2682 else if (!strcmp(dir, "up")) 2682 else if (!strcmp(dir, "up"))
2683 { 2683 {
2684 if (_elm_genlist_elm_widget_event_direction(obj, ELM_FOCUS_UP, EINA_FALSE)) return EINA_TRUE; 2684 if (_key_action_move_dir(obj, ELM_FOCUS_UP, EINA_FALSE)) return EINA_TRUE;
2685 else return EINA_FALSE; 2685 else return EINA_FALSE;
2686 } 2686 }
2687 else if (!strcmp(dir, "up_multi")) 2687 else if (!strcmp(dir, "up_multi"))
2688 { 2688 {
2689 if (_elm_genlist_elm_widget_event_direction(obj, ELM_FOCUS_UP, EINA_TRUE)) return EINA_TRUE; 2689 if (_key_action_move_dir(obj, ELM_FOCUS_UP, EINA_TRUE)) return EINA_TRUE;
2690 else if (_elm_genlist_elm_widget_event_direction(obj, ELM_FOCUS_UP, EINA_FALSE)) return EINA_TRUE; 2690 else if (_key_action_move_dir(obj, ELM_FOCUS_UP, EINA_FALSE)) return EINA_TRUE;
2691 else return EINA_FALSE; 2691 else return EINA_FALSE;
2692 } 2692 }
2693 else if (!strcmp(dir, "down")) 2693 else if (!strcmp(dir, "down"))
2694 { 2694 {
2695 if (_elm_genlist_elm_widget_event_direction(obj, ELM_FOCUS_DOWN, EINA_FALSE)) return EINA_TRUE; 2695 if (_key_action_move_dir(obj, ELM_FOCUS_DOWN, EINA_FALSE)) return EINA_TRUE;
2696 else return EINA_FALSE; 2696 else return EINA_FALSE;
2697 } 2697 }
2698 else if (!strcmp(dir, "down_multi")) 2698 else if (!strcmp(dir, "down_multi"))
2699 { 2699 {
2700 if (_elm_genlist_elm_widget_event_direction(obj, ELM_FOCUS_DOWN, EINA_TRUE)) return EINA_TRUE; 2700 if (_key_action_move_dir(obj, ELM_FOCUS_DOWN, EINA_TRUE)) return EINA_TRUE;
2701 else if (_elm_genlist_elm_widget_event_direction(obj, ELM_FOCUS_DOWN, EINA_FALSE)) return EINA_TRUE; 2701 else if (_key_action_move_dir(obj, ELM_FOCUS_DOWN, EINA_FALSE)) return EINA_TRUE;
2702 else return EINA_FALSE; 2702 else return EINA_FALSE;
2703 } 2703 }
2704 else if (!strcmp(dir, "first")) 2704 else if (!strcmp(dir, "first"))