test_genlist: Enable focus highlight and animation only for this window.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Sun, 12 Jan 2014 16:09:26 +0000 (01:09 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Sun, 12 Jan 2014 16:09:26 +0000 (01:09 +0900)
Do not affect other test windows.

src/bin/test_genlist.c

index bbd13acdb30558559eec30822a829d65c8e731a6..2e2558e880d2d7025a31ab157c45341968feba53 100644 (file)
@@ -3318,11 +3318,10 @@ test_genlist_focus(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
    Evas_Object *win, *gl, *bx, *bxx, *chk;
    unsigned lhand, rhand;
 
-   elm_config_focus_highlight_enabled_set(EINA_TRUE);
-   elm_config_focus_highlight_animate_set(EINA_TRUE);
-
    win = elm_win_util_standard_add("genlist-focus", "Genlist Focus");
    elm_win_autodel_set(win, EINA_TRUE);
+   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);