hermet pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=7b97d550048b469473e1641b6c1c8b893099cc41
commit 7b97d550048b469473e1641b6c1c8b893099cc41 Author: Woochan Lee <wc0917....@samsung.com> Date: Wed Nov 30 13:24:37 2016 +0900 elm_calendar: Use the flag already declared. Summary: Oops, i missed use it in previous commit(6c04755a922d396356a561b85e010105e6ff61ae) Reviewers: cedric, jpeg, woohyun, Hermet Reviewed By: Hermet Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4437 --- src/lib/elementary/elm_calendar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elementary/elm_calendar.c b/src/lib/elementary/elm_calendar.c index 14cc386..971f893 100644 --- a/src/lib/elementary/elm_calendar.c +++ b/src/lib/elementary/elm_calendar.c @@ -1550,7 +1550,7 @@ _key_action_move(Evas_Object *obj, const char *params) //Otherwise, give focus to dec_btn_month. if (sd->focused_it > (ELM_DAY_LAST / 2)) //Double spinner case. - if (edje_object_part_exists(wd->resize_obj, ELM_CALENDAR_BUTTON_YEAR_RIGHT)) + if (double_spinner) elm_object_focus_set(sd->inc_btn_year, EINA_TRUE); else elm_object_focus_set(sd->inc_btn_month, EINA_TRUE); @@ -1571,7 +1571,7 @@ _key_action_move(Evas_Object *obj, const char *params) { if (sd->focused_it > (ELM_DAY_LAST + (ELM_DAY_LAST / 2))) //Double spinner case. - if (edje_object_part_exists(wd->resize_obj, ELM_CALENDAR_BUTTON_YEAR_RIGHT)) + if (double_spinner) elm_object_focus_set(sd->inc_btn_year, EINA_TRUE); else elm_object_focus_set(sd->inc_btn_month, EINA_TRUE); --