summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2014-01-22 18:36:13 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2014-01-22 18:36:13 +0900
commit14c8899c5d1ffaa12347fb71fd74d9ac2512cfcf (patch)
tree2045d4844d7a91c17a18a87cccb1cf496bc4e9d8
parentacf7154c627ec3c51a27bc0aad64023d3ded75a3 (diff)
popup: Replace focus_direction_go with focus_cycle.
-rw-r--r--src/lib/elc_popup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c
index 640134c09..f1f4da3a2 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)
1474 else if ((!strcmp(ev->key, "Left")) || 1474 else if ((!strcmp(ev->key, "Left")) ||
1475 ((!strcmp(ev->key, "KP_Left")) && (!ev->string))) 1475 ((!strcmp(ev->key, "KP_Left")) && (!ev->string)))
1476 { 1476 {
1477 elm_widget_focus_direction_go(obj, 270.0); 1477 elm_widget_focus_cycle(obj, ELM_FOCUS_LEFT);
1478 goto success; 1478 goto success;
1479 } 1479 }
1480 else if ((!strcmp(ev->key, "Right")) || 1480 else if ((!strcmp(ev->key, "Right")) ||
1481 ((!strcmp(ev->key, "KP_Right")) && (!ev->string))) 1481 ((!strcmp(ev->key, "KP_Right")) && (!ev->string)))
1482 { 1482 {
1483 elm_widget_focus_direction_go(obj, 90.0); 1483 elm_widget_focus_cycle(obj, ELM_FOCUS_RIGHT);
1484 goto success; 1484 goto success;
1485 } 1485 }
1486 else if ((!strcmp(ev->key, "Up")) || 1486 else if ((!strcmp(ev->key, "Up")) ||
1487 ((!strcmp(ev->key, "KP_Up")) && (!ev->string))) 1487 ((!strcmp(ev->key, "KP_Up")) && (!ev->string)))
1488 { 1488 {
1489 elm_widget_focus_direction_go(obj, 0.0); 1489 elm_widget_focus_cycle(obj, ELM_FOCUS_UP);
1490 goto success; 1490 goto success;
1491 } 1491 }
1492 else if ((!strcmp(ev->key, "Down")) || 1492 else if ((!strcmp(ev->key, "Down")) ||
1493 ((!strcmp(ev->key, "KP_Down")) && (!ev->string))) 1493 ((!strcmp(ev->key, "KP_Down")) && (!ev->string)))
1494 { 1494 {
1495 elm_widget_focus_direction_go(obj, 180.0); 1495 elm_widget_focus_cycle(obj, ELM_FOCUS_DOWN);
1496 goto success; 1496 goto success;
1497 } 1497 }
1498 1498