summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/edje_externals/elm_gengrid.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
commit4b8fcf743010519458540fa9c17cfaac8239b9b5 (patch)
treee1172fd04543f4227038a87512f29ce51b4c2baa /legacy/elementary/src/edje_externals/elm_gengrid.c
parentc652e37c6e94be10ccbf050b53d014e97175ae1a (diff)
seriously file globbing. another day would have been much better.
SVN revision: 68991
Diffstat (limited to 'legacy/elementary/src/edje_externals/elm_gengrid.c')
-rw-r--r--legacy/elementary/src/edje_externals/elm_gengrid.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/legacy/elementary/src/edje_externals/elm_gengrid.c b/legacy/elementary/src/edje_externals/elm_gengrid.c
index 263e609..9319d5e 100644
--- a/legacy/elementary/src/edje_externals/elm_gengrid.c
+++ b/legacy/elementary/src/edje_externals/elm_gengrid.c
@@ -45,16 +45,16 @@ external_gengrid_state_set(void *data __UNUSED__, Evas_Object *obj, const void *
45 if (p->no_select_exists) 45 if (p->no_select_exists)
46 { 46 {
47 if (p->no_select) 47 if (p->no_select)
48 elm_gengrid_select_mode_set (obj, ELM_OBJECT_NO_SELECT); 48 elm_gengrid_select_mode_set (obj, ELM_OBJECT_SELECT_MODE_NONE);
49 else 49 else
50 elm_gengrid_select_mode_set (obj, ELM_OBJECT_NORMAL_SELECT); 50 elm_gengrid_select_mode_set (obj, ELM_OBJECT_SELECT_MODE_DEFAULT);
51 } 51 }
52 if (p->always_select_exists) 52 if (p->always_select_exists)
53 { 53 {
54 if (p->always_select) 54 if (p->always_select)
55 elm_gengrid_select_mode_set (obj, ELM_OBJECT_ALWAYS_SELECT); 55 elm_gengrid_select_mode_set (obj, ELM_OBJECT_SELECT_MODE_ALWAYS);
56 else 56 else
57 elm_gengrid_select_mode_set (obj, ELM_OBJECT_NORMAL_SELECT); 57 elm_gengrid_select_mode_set (obj, ELM_OBJECT_SELECT_MODE_DEFAULT);
58 } 58 }
59 if (p->h_bounce_exists) 59 if (p->h_bounce_exists)
60 { 60 {
@@ -123,9 +123,9 @@ external_gengrid_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_E
123 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 123 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
124 { 124 {
125 if (param->i) 125 if (param->i)
126 elm_gengrid_select_mode_set (obj, ELM_OBJECT_NO_SELECT); 126 elm_gengrid_select_mode_set (obj, ELM_OBJECT_SELECT_MODE_NONE);
127 else 127 else
128 elm_gengrid_select_mode_set (obj, ELM_OBJECT_NORMAL_SELECT); 128 elm_gengrid_select_mode_set (obj, ELM_OBJECT_SELECT_MODE_DEFAULT);
129 return EINA_TRUE; 129 return EINA_TRUE;
130 } 130 }
131 } 131 }
@@ -134,9 +134,9 @@ external_gengrid_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_E
134 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 134 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
135 { 135 {
136 if (param->i) 136 if (param->i)
137 elm_gengrid_select_mode_set (obj, ELM_OBJECT_ALWAYS_SELECT); 137 elm_gengrid_select_mode_set (obj, ELM_OBJECT_SELECT_MODE_ALWAYS);
138 else 138 else
139 elm_gengrid_select_mode_set (obj, ELM_OBJECT_NORMAL_SELECT); 139 elm_gengrid_select_mode_set (obj, ELM_OBJECT_SELECT_MODE_DEFAULT);
140 return EINA_TRUE; 140 return EINA_TRUE;
141 } 141 }
142 } 142 }
@@ -246,7 +246,7 @@ external_gengrid_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_E
246 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 246 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
247 { 247 {
248 if (elm_gengrid_select_mode_get (obj) == 248 if (elm_gengrid_select_mode_get (obj) ==
249 ELM_OBJECT_NO_SELECT) 249 ELM_OBJECT_SELECT_MODE_NONE)
250 param->i = EINA_TRUE; 250 param->i = EINA_TRUE;
251 else 251 else
252 param->i = EINA_FALSE; 252 param->i = EINA_FALSE;
@@ -258,7 +258,7 @@ external_gengrid_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_E
258 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 258 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
259 { 259 {
260 if (elm_gengrid_select_mode_get (obj) == 260 if (elm_gengrid_select_mode_get (obj) ==
261 ELM_OBJECT_ALWAYS_SELECT) 261 ELM_OBJECT_SELECT_MODE_ALWAYS)
262 param->i = EINA_TRUE; 262 param->i = EINA_TRUE;
263 else 263 else
264 param->i = EINA_FALSE; 264 param->i = EINA_FALSE;