summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-04-02 02:36:55 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-04-02 02:36:55 +0000
commitf956d25039c8e2873f8d86906cc175d74501071a (patch)
tree6c575801dbab97623be2595933d1f6d70275d083 /src/bin
parentd6703f6bc1df74fcecf366863e8dc2cb68a5234c (diff)
elm genlist: Reverted Hyoyoung's first patch. He sent another patch
for this change. Revert "After edit mode naming is changed, some legacy naming is remained." This reverts commit 5e1aa3c8b0382a0ca471150f4c219cd32dbdbe22. SVN revision: 69835
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 6f716898a..cc9986ea9 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.decorate.content | elm.edit.icon,2 | 2391 // | elm.edit.icon.1 | elm.swallow.edit.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_deco_mode(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) 2437gl15_edit_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-decorate-mode", "Genlist Decorate Mode"); 2463 win = elm_win_util_standard_add("genlist-edit-mode", "Genlist Edit 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_deco_mode, gl); 2506 evas_object_smart_callback_add(bt, "clicked", gl15_edit_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);