woohyun pushed a commit to branch master.

commit 6a45f7cab7f5fd24de20915cf231cd253b52f65a
Author: WooHyun Jung <[email protected]>
Date:   Tue Apr 9 22:22:37 2013 +0900

    elm_list.c : _elm_list_smart_focus_next_enable is for focus_next function. 
Not for focus_direction.
---
 src/lib/elm_list.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c
index f9bfcdd..53ba7ae 100644
--- a/src/lib/elm_list.c
+++ b/src/lib/elm_list.c
@@ -1536,20 +1536,20 @@ _resize_cb(void *data,
    elm_layout_sizing_eval(data);
 }
 
+static Eina_Bool _elm_list_smart_focus_next_enable = EINA_FALSE;
+
 static void
 _elm_list_smart_focus_next_manager_is(Eo *obj EINA_UNUSED, void *_pd 
EINA_UNUSED, va_list *list)
 {
    Eina_Bool *ret = va_arg(*list, Eina_Bool *);
-   *ret = EINA_TRUE;
+   *ret = _elm_list_smart_focus_next_enable;
 }
 
-static Eina_Bool _elm_list_smart_focus_next_enable = EINA_FALSE;
-
 static void
 _elm_list_smart_focus_direction_manager_is(Eo *obj EINA_UNUSED, void *_pd 
EINA_UNUSED, va_list *list)
 {
    Eina_Bool *ret = va_arg(*list, Eina_Bool *);
-   *ret = _elm_list_smart_focus_next_enable;
+   *ret = EINA_FALSE;
 }
 static void
 _elm_list_smart_focus_next(Eo *obj, void *_pd EINA_UNUSED, va_list *list)

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Reply via email to