seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=2647ab7b80d6514feb0ba095b5d9091f0c687cc2

commit 2647ab7b80d6514feb0ba095b5d9091f0c687cc2
Author: Daniel Juyung Seo <[email protected]>
Date:   Mon Apr 7 04:13:01 2014 +0900

    list: Fixed _elm_list_item_content_focus_set in case the first content
    is focused.
    
    The function should return true when the first content of an item is
    focused.
    
    @fix
---
 src/lib/elm_list.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c
index e2709bc..969da13 100644
--- a/src/lib/elm_list.c
+++ b/src/lib/elm_list.c
@@ -242,7 +242,7 @@ _elm_list_item_content_focus_set(Elm_List_Item *it, 
Elm_Focus_Direction dir,
    if (!focused)
      {
         elm_object_focus_set(focus_chain[0], EINA_TRUE);
-        return EINA_FALSE;
+        return EINA_TRUE;
      }
 
    if (dir != ELM_FOCUS_PREVIOUS)

-- 


Reply via email to