popup: Replace focus_direction_go with focus_cycle.
authorWooHyun Jung <wh0705.jung@samsung.com>
Wed, 22 Jan 2014 09:36:13 +0000 (18:36 +0900)
committerWooHyun Jung <wh0705.jung@samsung.com>
Wed, 22 Jan 2014 09:36:13 +0000 (18:36 +0900)
src/lib/elc_popup.c

index 640134c..f1f4da3 100644 (file)
@@ -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;
      }