aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_gengrid.c
diff options
context:
space:
mode:
authorAmitesh Singh <singh.amitesh@gmail.com>2014-03-23 19:18:05 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-03-23 19:19:38 +0900
commitfd4ad3747aa2a4eeb6572acf1942bb36439f8c13 (patch)
treeed1895ad0cad21ddc42ec3176c7d5cfc466d9b0e /legacy/elementary/src/bin/test_gengrid.c
parentlist: Fixed annoying list scrolling issue when focus is back to list. (diff)
downloadefl-fd4ad3747aa2a4eeb6572acf1942bb36439f8c13.tar.gz
test_list,test_gengrid,test_genlist: Added disabled items for better testing.
Test Plan: elementary_test->genlist focus, list focus, gengrid focus Reviewers: seoz Reviewed By: seoz CC: seoz Differential Revision: https://phab.enlightenment.org/D651
Diffstat (limited to 'legacy/elementary/src/bin/test_gengrid.c')
-rw-r--r--legacy/elementary/src/bin/test_gengrid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/elementary/src/bin/test_gengrid.c b/legacy/elementary/src/bin/test_gengrid.c
index d939165f5a..b153767e7d 100644
--- a/legacy/elementary/src/bin/test_gengrid.c
+++ b/legacy/elementary/src/bin/test_gengrid.c
@@ -1415,6 +1415,8 @@ test_gengrid_focus(void *data EINA_UNUSED,
id->mode = i;
id->path = eina_stringshare_add(buf);
id->item = elm_gengrid_item_append(gengrid, ic, id, NULL, NULL);
+ if (i == 4)
+ elm_object_item_disabled_set(id->item, EINA_TRUE);
}
elm_gengrid_item_class_free(ic);