summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_ctxpopup.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-30 16:40:22 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-31 11:22:04 +0900
commitb6bab481aa8c4297f7692422b61dacf08f9e1d10 (patch)
tree82dceab2ef8b35e57eb10cb04a1f43345d1ed876 /src/lib/elementary/elc_ctxpopup.c
parentb0fc5dde62f6392ccf2a46c5be6265e72260b137 (diff)
widget: Mark old focus API as beta.
It's not beta. It's about to die. Also, move #define ELM_WIDGET_BETA to the common header file, as it is consequently required by ALL widgets. :( Ping @bu5hm4n :) Ref T5363
Diffstat (limited to 'src/lib/elementary/elc_ctxpopup.c')
-rw-r--r--src/lib/elementary/elc_ctxpopup.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/elementary/elc_ctxpopup.c b/src/lib/elementary/elc_ctxpopup.c
index 5789135..f339597 100644
--- a/src/lib/elementary/elc_ctxpopup.c
+++ b/src/lib/elementary/elc_ctxpopup.c
@@ -79,10 +79,10 @@ _elm_ctxpopup_elm_widget_focus_next(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd,
79 if (!sd) 79 if (!sd)
80 return EINA_FALSE; 80 return EINA_FALSE;
81 81
82 if (!elm_widget_focus_next_get(sd->box, dir, next, next_item)) 82 if (!elm_obj_widget_focus_next_get(sd->box, dir, next, next_item))
83 { 83 {
84 elm_widget_focused_object_clear(sd->box); 84 elm_obj_widget_focused_object_clear(sd->box);
85 elm_widget_focus_next_get(sd->box, dir, next, next_item); 85 elm_obj_widget_focus_next_get(sd->box, dir, next, next_item);
86 } 86 }
87 87
88 return EINA_TRUE; 88 return EINA_TRUE;
@@ -120,17 +120,17 @@ _key_action_move(Evas_Object *obj, const char *params)
120 120
121 _elm_widget_focus_auto_show(obj); 121 _elm_widget_focus_auto_show(obj);
122 if (!strcmp(dir, "previous")) 122 if (!strcmp(dir, "previous"))
123 elm_widget_focus_cycle(sd->box, ELM_FOCUS_PREVIOUS); 123 elm_obj_widget_focus_cycle(sd->box, ELM_FOCUS_PREVIOUS);
124 else if (!strcmp(dir, "next")) 124 else if (!strcmp(dir, "next"))
125 elm_widget_focus_cycle(sd->box, ELM_FOCUS_NEXT); 125 elm_obj_widget_focus_cycle(sd->box, ELM_FOCUS_NEXT);
126 else if (!strcmp(dir, "left")) 126 else if (!strcmp(dir, "left"))
127 elm_widget_focus_cycle(sd->box, ELM_FOCUS_LEFT); 127 elm_obj_widget_focus_cycle(sd->box, ELM_FOCUS_LEFT);
128 else if (!strcmp(dir, "right")) 128 else if (!strcmp(dir, "right"))
129 elm_widget_focus_cycle(sd->box, ELM_FOCUS_RIGHT); 129 elm_obj_widget_focus_cycle(sd->box, ELM_FOCUS_RIGHT);
130 else if (!strcmp(dir, "up")) 130 else if (!strcmp(dir, "up"))
131 elm_widget_focus_cycle(sd->box, ELM_FOCUS_UP); 131 elm_obj_widget_focus_cycle(sd->box, ELM_FOCUS_UP);
132 else if (!strcmp(dir, "down")) 132 else if (!strcmp(dir, "down"))
133 elm_widget_focus_cycle(sd->box, ELM_FOCUS_DOWN); 133 elm_obj_widget_focus_cycle(sd->box, ELM_FOCUS_DOWN);
134 else return EINA_FALSE; 134 else return EINA_FALSE;
135 135
136 return EINA_TRUE; 136 return EINA_TRUE;