aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_launcher.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2011-06-29 07:11:54 +0000
committerTom Hacohen <tom@stosb.com>2011-06-29 07:11:54 +0000
commit36be2846c9333fd24fe4f0e9c7557b1a4cceddf0 (patch)
tree91ef0a9d9b7e1b4771aea6899ad16959892cf87d /legacy/elementary/src/bin/test_launcher.c
parentElm button: add the elm_object_text_set/get hooks. (diff)
downloadefl-36be2846c9333fd24fe4f0e9c7557b1a4cceddf0.tar.gz
Elm button: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60800
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/bin/test_launcher.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/legacy/elementary/src/bin/test_launcher.c b/legacy/elementary/src/bin/test_launcher.c
index 925a8e9fd9..e27990d9d8 100644
--- a/legacy/elementary/src/bin/test_launcher.c
+++ b/legacy/elementary/src/bin/test_launcher.c
@@ -363,7 +363,7 @@ test_launcher(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
evas_object_show(ck);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Close");
+ elm_object_text_set(bt, "Close");
evas_object_smart_callback_add(bt, "clicked", close_cb, win);
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(bt, 0.95, 0.99);
@@ -407,17 +407,17 @@ test_launcher2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
evas_object_size_hint_weight_set(ly, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Button 1");
+ elm_object_text_set(bt, "Button 1");
elm_layout_content_set(ly, "element1", bt);
evas_object_show(bt);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Button 2");
+ elm_object_text_set(bt, "Button 2");
elm_layout_content_set(ly, "element2", bt);
evas_object_show(bt);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Button 3");
+ elm_object_text_set(bt, "Button 3");
elm_layout_content_set(ly, "element3", bt);
evas_object_show(bt);
@@ -487,7 +487,7 @@ test_launcher2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
evas_object_show(ck);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Close");
+ elm_object_text_set(bt, "Close");
evas_object_smart_callback_add(bt, "clicked", close_cb, win);
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(bt, 0.95, 0.99);
@@ -907,7 +907,7 @@ test_launcher3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
evas_object_show(ck);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Close");
+ elm_object_text_set(bt, "Close");
evas_object_smart_callback_add(bt, "clicked", l3_close_cb, win);
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(bt, 0.95, 0.99);