woohyun pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=14c8899c5d1ffaa12347fb71fd74d9ac2512cfcf

commit 14c8899c5d1ffaa12347fb71fd74d9ac2512cfcf
Author: WooHyun Jung <wh0705.j...@samsung.com>
Date:   Wed Jan 22 18:36:13 2014 +0900

    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;
      }
 

-- 


Reply via email to