summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-13 01:09:26 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-13 01:09:26 +0900
commitd4a8674beabc4b6f8f90e23d72f5586ae1ce09b4 (patch)
tree882d378314c5a96e05d1ca49d8c1d62758ad0e76
parent414e347e98ced4b5ce2a1e5fbede7f53568d4766 (diff)
downloadelementary-d4a8674beabc4b6f8f90e23d72f5586ae1ce09b4.tar.gz
test_genlist: Enable focus highlight and animation only for this window.
Do not affect other test windows.
-rw-r--r--src/bin/test_genlist.c5
1 files 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);