seoz pushed a commit to branch master.

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

commit e5f40f1d694a9ec35c7c43b480f88bbf573c157b
Author: Daniel Juyung Seo <seojuyu...@gmail.com>
Date:   Wed Nov 6 03:09:54 2013 +0900

    test_list.c: fix list focus example to enable the focus highlight and 
animation for the proper window.
---
 src/bin/test_list.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/test_list.c b/src/bin/test_list.c
index c1bfe2b..4123779 100644
--- a/src/bin/test_list.c
+++ b/src/bin/test_list.c
@@ -1376,14 +1376,14 @@ void test_list_focus(const char *name, const char 
*title, Eina_Bool horiz)
    unsigned lhand, rhand, idx;
    char buf[256];
 
-   elm_config_focus_highlight_enabled_set(EINA_TRUE);
-   elm_config_focus_highlight_animate_set(EINA_TRUE);
-
    win = elm_win_util_standard_add(name, title);
    elm_win_autodel_set(win, EINA_TRUE);
    evas_object_resize(win, 320, 300);
    evas_object_show(win);
 
+   elm_win_focus_highlight_enabled_set(win, EINA_TRUE);
+   elm_win_focus_highlight_animate_set(win, EINA_TRUE);
+
    bxx = elm_box_add(win);
    evas_object_size_hint_weight_set(bxx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    elm_win_resize_object_add(win, bxx);

-- 


Reply via email to