summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-03-30 10:34:31 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-03-30 10:34:31 +0000
commit1db28fd87cef88f85090f9f73340e649735c2b74 (patch)
tree5cb3833cbd43f827d9242e3a0c406365bbeebe71 /src/bin
parented21f4820c16253727de852d30096c3ca4edfa6c (diff)
After edit mode naming is changed, some legacy naming is remained.
I changed naming to follow API naming changes. "edit_" -> "deco_" and also some explicit edc part names are changed. Some naming are remained as is, I'll fix at next patches. SVN revision: 69793
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/test_genlist.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c
index cc9986ea9..6f716898a 100644
--- a/src/bin/test_genlist.c
+++ b/src/bin/test_genlist.c
@@ -2387,9 +2387,9 @@ Evas_Object *gl15_content_get(void *data, Evas_Object *obj, const char *part)
2387 2387
2388 // "edit_default" EDC layout is like below. each part is swallow part. 2388 // "edit_default" EDC layout is like below. each part is swallow part.
2389 // the existing item is swllowed to elm.swallow.edit.content part. 2389 // the existing item is swllowed to elm.swallow.edit.content part.
2390 // ---------------------------------------------------------------- 2390 // --------------------------------------------------------------------
2391 // | elm.edit.icon.1 | elm.swallow.edit.content | elm.edit.icon,2 | 2391 // | elm.edit.icon.1 | elm.swallow.decorate.content | elm.edit.icon,2 |
2392 // ---------------------------------------------------------------- 2392 // --------------------------------------------------------------------
2393 2393
2394 if (!strcmp(part, "elm.swallow.end")) 2394 if (!strcmp(part, "elm.swallow.end"))
2395 { 2395 {
@@ -2434,7 +2434,7 @@ gl15_sel(void *data, Evas_Object *obj, void *event_info __UNUSED__)
2434} 2434}
2435 2435
2436static void 2436static void
2437gl15_edit_mode(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) 2437gl15_deco_mode(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
2438{ 2438{
2439 elm_genlist_decorate_mode_set(data, EINA_TRUE); 2439 elm_genlist_decorate_mode_set(data, EINA_TRUE);
2440 elm_genlist_select_mode_set(data, ELM_OBJECT_SELECT_MODE_ALWAYS); 2440 elm_genlist_select_mode_set(data, ELM_OBJECT_SELECT_MODE_ALWAYS);
@@ -2460,7 +2460,7 @@ test_genlist15(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
2460 int i; 2460 int i;
2461 static Testitem tit[100]; 2461 static Testitem tit[100];
2462 2462
2463 win = elm_win_util_standard_add("genlist-edit-mode", "Genlist Edit Mode"); 2463 win = elm_win_util_standard_add("genlist-decorate-mode", "Genlist Decorate Mode");
2464 elm_win_autodel_set(win, EINA_TRUE); 2464 elm_win_autodel_set(win, EINA_TRUE);
2465 2465
2466 bx = elm_box_add(win); 2466 bx = elm_box_add(win);
@@ -2503,7 +2503,7 @@ test_genlist15(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
2503 2503
2504 bt = elm_button_add(win); 2504 bt = elm_button_add(win);
2505 elm_object_text_set(bt, "Edit mode"); 2505 elm_object_text_set(bt, "Edit mode");
2506 evas_object_smart_callback_add(bt, "clicked", gl15_edit_mode, gl); 2506 evas_object_smart_callback_add(bt, "clicked", gl15_deco_mode, gl);
2507 evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL); 2507 evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
2508 evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, 0.0); 2508 evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, 0.0);
2509 elm_box_pack_end(bx2, bt); 2509 elm_box_pack_end(bx2, bt);