aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-03-07 16:01:37 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-03-07 16:01:37 +0000
commitaa78786616ac9e3c3353c9fa421b67ef9306f5a1 (patch)
treef91fbca7ccdff777e738681cd31cbe325147293d /legacy/elementary/src/bin
parentxxx-- -> we need these as genlist/grid items hold data for these due (diff)
downloadefl-aa78786616ac9e3c3353c9fa421b67ef9306f5a1.tar.gz
rename elm object select mode values: whoever wrote this deserves spankies
SVN revision: 68982
Diffstat (limited to 'legacy/elementary/src/bin')
-rw-r--r--legacy/elementary/src/bin/test_gengrid.c2
-rw-r--r--legacy/elementary/src/bin/test_genlist.c12
-rw-r--r--legacy/elementary/src/bin/test_toolbar.c2
3 files changed, 8 insertions, 8 deletions
diff --git a/legacy/elementary/src/bin/test_gengrid.c b/legacy/elementary/src/bin/test_gengrid.c
index 88624f005d..7fb13e46b2 100644
--- a/legacy/elementary/src/bin/test_gengrid.c
+++ b/legacy/elementary/src/bin/test_gengrid.c
@@ -71,7 +71,7 @@ set_api_state(api_data *api)
break;
case GRID_NO_SELECT_MODE: /* 2 */
- elm_gengrid_select_mode_set(grid, ELM_OBJECT_NO_SELECT);
+ elm_gengrid_select_mode_set(grid, ELM_OBJECT_SELECT_MODE_NONE);
break;
case GRID_NO_BOUNCE: /* 3 */
diff --git a/legacy/elementary/src/bin/test_genlist.c b/legacy/elementary/src/bin/test_genlist.c
index b3c05ee0c5..3952cbf0f6 100644
--- a/legacy/elementary/src/bin/test_genlist.c
+++ b/legacy/elementary/src/bin/test_genlist.c
@@ -42,12 +42,12 @@ set_api_state(api_data *api)
break;
case NO_SELECT_MODE_SET: /* 1 */
- elm_genlist_select_mode_set(gl, ELM_OBJECT_NO_SELECT);
+ elm_genlist_select_mode_set(gl, ELM_OBJECT_SELECT_MODE_NONE);
elm_genlist_mode_set(gl, ELM_LIST_SCROLL); /* Back to default */
break;
case COMPRESS_MODE_SET: /* 2 */
- elm_genlist_select_mode_set(gl, ELM_OBJECT_NORMAL_SELECT);
+ elm_genlist_select_mode_set(gl, ELM_OBJECT_SELECT_MODE_DEFAULT);
elm_genlist_compress_mode_set(gl, EINA_TRUE);
break;
@@ -1055,7 +1055,7 @@ test_genlist5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
evas_object_show(bx);
gl = elm_genlist_add(win);
- elm_genlist_select_mode_set(gl, ELM_OBJECT_ALWAYS_SELECT);
+ elm_genlist_select_mode_set(gl, ELM_OBJECT_SELECT_MODE_ALWAYS);
evas_object_size_hint_align_set(gl, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(gl, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_show(gl);
@@ -2401,14 +2401,14 @@ static void
gl15_edit_mode(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
elm_genlist_edit_mode_set(data, EINA_TRUE);
- elm_genlist_select_mode_set(data, ELM_OBJECT_ALWAYS_SELECT);
+ elm_genlist_select_mode_set(data, ELM_OBJECT_SELECT_MODE_ALWAYS);
}
static void
gl15_normal_mode(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
elm_genlist_edit_mode_set(data, EINA_FALSE);
- elm_genlist_select_mode_set(data, ELM_OBJECT_NORMAL_SELECT);
+ elm_genlist_select_mode_set(data, ELM_OBJECT_SELECT_MODE_DEFAULT);
}
void gl15_del(void *data __UNUSED__, Evas_Object *obj __UNUSED__)
@@ -2564,7 +2564,7 @@ test_genlist16(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
/* note: flip mode can be used with/without edit mode */
elm_genlist_edit_mode_set(gl, EINA_TRUE);
- elm_genlist_select_mode_set(gl, ELM_OBJECT_ALWAYS_SELECT);
+ elm_genlist_select_mode_set(gl, ELM_OBJECT_SELECT_MODE_ALWAYS);
itc15 = elm_genlist_item_class_new();
itc15->item_style = "default";
diff --git a/legacy/elementary/src/bin/test_toolbar.c b/legacy/elementary/src/bin/test_toolbar.c
index 2b91fdb56b..30755018f0 100644
--- a/legacy/elementary/src/bin/test_toolbar.c
+++ b/legacy/elementary/src/bin/test_toolbar.c
@@ -529,7 +529,7 @@ test_toolbar5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_MENU);
evas_object_size_hint_weight_set(tb, 0.0, 0.0);
evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0);
- elm_toolbar_select_mode_set(tb, ELM_OBJECT_NO_SELECT);
+ elm_toolbar_select_mode_set(tb, ELM_OBJECT_SELECT_MODE_NONE);
ph1 = elm_photo_add(win);
ph2 = elm_photo_add(win);