From d4a8674beabc4b6f8f90e23d72f5586ae1ce09b4 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Mon, 13 Jan 2014 01:09:26 +0900 Subject: [PATCH] test_genlist: Enable focus highlight and animation only for this window. Do not affect other test windows. --- src/bin/test_genlist.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c index bbd13acdb..2e2558e88 100644 --- a/src/bin/test_genlist.c +++ b/src/bin/test_genlist.c @@ -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); -- 2.34.1