summaryrefslogtreecommitdiff
path: root/src/examples/gengrid_example.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-03-07 16:18:38 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-03-07 16:18:38 +0000
commit67d2892147237aeb4f99c00f46e0d8113c01b786 (patch)
tree361dec038654ef2a9183cb6ebdad2cdcdaee9546 /src/examples/gengrid_example.c
parent363213dc7092c02dc46ed6191130d9f87f8975fb (diff)
seriously file globbing. another day would have been much better.
SVN revision: 68991
Diffstat (limited to 'src/examples/gengrid_example.c')
-rw-r--r--src/examples/gengrid_example.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/gengrid_example.c b/src/examples/gengrid_example.c
index 9e655bf54..d55dabaee 100644
--- a/src/examples/gengrid_example.c
+++ b/src/examples/gengrid_example.c
@@ -67,9 +67,9 @@ _always_select_change(void *data,
67 Eina_Bool always = elm_check_state_get(obj); 67 Eina_Bool always = elm_check_state_get(obj);
68 68
69 if (always) 69 if (always)
70 elm_gengrid_select_mode_set(grid, ELM_OBJECT_ALWAYS_SELECT); 70 elm_gengrid_select_mode_set(grid, ELM_OBJECT_SELECT_MODE_ALWAYS);
71 else 71 else
72 elm_gengrid_select_mode_set(grid, ELM_OBJECT_NORMAL_SELECT); 72 elm_gengrid_select_mode_set(grid, ELM_OBJECT_SELECT_MODE_DEFAULT);
73 73
74 fprintf(stdout, "\"Always select\" mode for gengrid items is now %s\n", 74 fprintf(stdout, "\"Always select\" mode for gengrid items is now %s\n",
75 always ? "on" : "off"); 75 always ? "on" : "off");
@@ -126,9 +126,9 @@ _no_sel_change(void *data,
126 Eina_Bool no_sel = elm_check_state_get(obj); 126 Eina_Bool no_sel = elm_check_state_get(obj);
127 127
128 if (no_sel) 128 if (no_sel)
129 elm_gengrid_select_mode_set(grid, ELM_OBJECT_NO_SELECT); 129 elm_gengrid_select_mode_set(grid, ELM_OBJECT_SELECT_MODE_NONE);
130 else 130 else
131 elm_gengrid_select_mode_set(grid, ELM_OBJECT_NORMAL_SELECT); 131 elm_gengrid_select_mode_set(grid, ELM_OBJECT_SELECT_MODE_DEFAULT);
132 132
133 fprintf(stdout, "Selection for gengrid items is now %s\n", 133 fprintf(stdout, "Selection for gengrid items is now %s\n",
134 no_sel ? "disabled" : "enabled"); 134 no_sel ? "disabled" : "enabled");