forked from enlightenment/efl
popup: Replace focus_direction_go with focus_cycle.
This commit is contained in:
parent
1d59d62703
commit
811c38145d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue