From 14c8899c5d1ffaa12347fb71fd74d9ac2512cfcf Mon Sep 17 00:00:00 2001 From: WooHyun Jung Date: Wed, 22 Jan 2014 18:36:13 +0900 Subject: [PATCH] popup: Replace focus_direction_go with focus_cycle. --- src/lib/elc_popup.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c index 640134c..f1f4da3 100644 --- a/src/lib/elc_popup.c +++ b/src/lib/elc_popup.c @@ -1474,25 +1474,25 @@ _elm_popup_smart_event(Eo *obj, void *_pd EINA_UNUSED, va_list *list) else if ((!strcmp(ev->key, "Left")) || ((!strcmp(ev->key, "KP_Left")) && (!ev->string))) { - elm_widget_focus_direction_go(obj, 270.0); + elm_widget_focus_cycle(obj, ELM_FOCUS_LEFT); goto success; } else if ((!strcmp(ev->key, "Right")) || ((!strcmp(ev->key, "KP_Right")) && (!ev->string))) { - elm_widget_focus_direction_go(obj, 90.0); + elm_widget_focus_cycle(obj, ELM_FOCUS_RIGHT); goto success; } else if ((!strcmp(ev->key, "Up")) || ((!strcmp(ev->key, "KP_Up")) && (!ev->string))) { - elm_widget_focus_direction_go(obj, 0.0); + elm_widget_focus_cycle(obj, ELM_FOCUS_UP); goto success; } else if ((!strcmp(ev->key, "Down")) || ((!strcmp(ev->key, "KP_Down")) && (!ev->string))) { - elm_widget_focus_direction_go(obj, 180.0); + elm_widget_focus_cycle(obj, ELM_FOCUS_DOWN); goto success; } -- 2.7.4