aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_gengrid.c
diff options
context:
space:
mode:
authorChinmaya <chinmaya@chinmaya-VirtualBox.(none)>2014-07-07 12:30:21 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-07-07 12:30:21 +0900
commit84f5de5a74d576197f349a417898426a8c74fd9f (patch)
treeac0f6c2f072a2bfe045c76f5833a40eb2c24fedc /legacy/elementary/src/bin/test_gengrid.c
parentlist/genlist/gengrid/toolbar: removed unused smart data member prev_focused_i... (diff)
downloadefl-84f5de5a74d576197f349a417898426a8c74fd9f.tar.gz
Gengrid: In reorder & sd->horizontal mode, the condition must be checked for item_loop_enable set or not. Also added a check button to enable reorder mode in gengrid 2.
Summary: The bug was there when reorder mode and sd->horizontal mode is enabled but item_loop_enable is not set, then also the loop was occuring with right key event. Test Plan: elementary_test -to "gengrid 2" Reviewers: raster, seoz, eagleeye, SanghyeonLee CC: seoz Differential Revision: https://phab.enlightenment.org/D1121
Diffstat (limited to 'legacy/elementary/src/bin/test_gengrid.c')
-rw-r--r--legacy/elementary/src/bin/test_gengrid.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/legacy/elementary/src/bin/test_gengrid.c b/legacy/elementary/src/bin/test_gengrid.c
index 847b66d874..ba69f37fa2 100644
--- a/legacy/elementary/src/bin/test_gengrid.c
+++ b/legacy/elementary/src/bin/test_gengrid.c
@@ -829,6 +829,12 @@ test_gengrid2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
evas_object_show(bt);
ck = elm_check_add(win);
+ elm_object_text_set(ck, "Reorder mode enable");
+ evas_object_smart_callback_add(ck, "changed", reorder_mode_cb, grid);
+ elm_box_pack_end(hbx, ck);
+ evas_object_show(ck);
+
+ ck = elm_check_add(win);
elm_object_text_set(ck, "Horizontal Mode");
evas_object_smart_callback_add(ck, "changed", _horizontal_grid, grid);
elm_box_pack_end(hbx, ck);