summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-02-18 03:49:19 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-02-18 03:49:19 +0900
commit2f51a93795d1dc886864863de269ba90cdfedebe (patch)
treef5d3aba2e8efff313804491acdc0557c762f81fb
parent19b6551f2adb114f2fc5fcdab1c6166f98ab5167 (diff)
test_list: Disabled 'focus on selection' as it is turned off by default.
- This can be enabled by checking the check buttons. - Switches 'focus on selection' and 'focus animation' check buttons.
-rw-r--r--src/bin/test_list.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/bin/test_list.c b/src/bin/test_list.c
index e8b2de6d9..5c45219b5 100644
--- a/src/bin/test_list.c
+++ b/src/bin/test_list.c
@@ -1316,23 +1316,23 @@ void test_list_focus(const char *name, const char *title, Eina_Bool horiz)
1316 evas_object_show(bx); 1316 evas_object_show(bx);
1317 1317
1318 chk = elm_check_add(win); 1318 chk = elm_check_add(win);
1319 elm_object_text_set(chk, "Focus on selection"); 1319 elm_object_text_set(chk, "Focus Animation");
1320 elm_check_state_set(chk, EINA_TRUE);
1320 evas_object_size_hint_weight_set(chk, EVAS_HINT_EXPAND, 0.0); 1321 evas_object_size_hint_weight_set(chk, EVAS_HINT_EXPAND, 0.0);
1321 evas_object_smart_callback_add(chk, "changed", test_list8_focus_check_changed, li); 1322 evas_object_smart_callback_add(chk, "changed",
1323 test_list8_focus_animate_check_changed, win);
1322 elm_box_pack_end(bx, chk); 1324 elm_box_pack_end(bx, chk);
1323 evas_object_show(chk); 1325 evas_object_show(chk);
1324 1326
1325 test_list8_focus_on_selection_set(li, chk, EINA_TRUE);
1326
1327 chk = elm_check_add(win); 1327 chk = elm_check_add(win);
1328 elm_object_text_set(chk, "Focus Animation"); 1328 elm_object_text_set(chk, "Focus on selection");
1329 elm_check_state_set(chk, EINA_TRUE);
1330 evas_object_size_hint_weight_set(chk, EVAS_HINT_EXPAND, 0.0); 1329 evas_object_size_hint_weight_set(chk, EVAS_HINT_EXPAND, 0.0);
1331 evas_object_smart_callback_add(chk, "changed", 1330 evas_object_smart_callback_add(chk, "changed", test_list8_focus_check_changed, li);
1332 test_list8_focus_animate_check_changed, win);
1333 elm_box_pack_end(bx, chk); 1331 elm_box_pack_end(bx, chk);
1334 evas_object_show(chk); 1332 evas_object_show(chk);
1335 1333
1334 test_list8_focus_on_selection_set(li, chk, EINA_FALSE);
1335
1336 elm_box_pack_end(bxx, bx); 1336 elm_box_pack_end(bxx, bx);
1337 1337
1338 for (idx = 0; _list_focus_combo[idx] >= 0; idx++) 1338 for (idx = 0; _list_focus_combo[idx] >= 0; idx++)