jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=40364b49853307d8d593cd9bcffad4b5905fcb01

commit 40364b49853307d8d593cd9bcffad4b5905fcb01
Author: Woochan Lee <[email protected]>
Date:   Thu Dec 1 10:41:48 2016 +0900

    elm_calendar: Changed the calendar focus highlight concept.
    
    Summary:
    The highlight image enable when calendar got a focus.
    
    We enable the highlight image when the user sent a key event to calendar 
before.
    The above concept seems to be incorrect when focus highlight activated 
already.
    
    Test Plan:
    elementary_test
    calendar sample.
    
    Reviewers: woohyun, cedric, jpeg
    
    Subscribers: cedric, jpeg
    
    Differential Revision: https://phab.enlightenment.org/D4438
---
 src/lib/elementary/elm_calendar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_calendar.c 
b/src/lib/elementary/elm_calendar.c
index 971f893..a2c2517 100644
--- a/src/lib/elementary/elm_calendar.c
+++ b/src/lib/elementary/elm_calendar.c
@@ -1648,7 +1648,7 @@ _elm_calendar_elm_widget_on_focus(Eo *obj, 
Elm_Calendar_Data *sd, Elm_Object_Ite
    if (!int_ret) return EINA_FALSE;
 
    if (elm_widget_focus_get(obj))
-     sd->focused_it = sd->selected_it;
+     _update_focused_it(obj, sd->selected_it);
    else
      _update_unfocused_it(obj, sd->focused_it);
 

-- 


Reply via email to