aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_photocam.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_photocam.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 'legacy/elementary/src/bin/test_photocam.c')
-rw-r--r--legacy/elementary/src/bin/test_photocam.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/legacy/elementary/src/bin/test_photocam.c b/legacy/elementary/src/bin/test_photocam.c
index 97891f5ed2..7117e2431b 100644
--- a/legacy/elementary/src/bin/test_photocam.c
+++ b/legacy/elementary/src/bin/test_photocam.c
@@ -271,7 +271,7 @@ test_photocam(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
elm_win_resize_object_add(win, tb2);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Z -");
+ elm_object_text_set(bt, "Z -");
evas_object_smart_callback_add(bt, "clicked", my_bt_zoom_out, ph);
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(bt, 0.1, 0.1);
@@ -287,7 +287,7 @@ test_photocam(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
evas_object_show(bt);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Z +");
+ elm_object_text_set(bt, "Z +");
evas_object_smart_callback_add(bt, "clicked", my_bt_zoom_in, ph);
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(bt, 0.9, 0.1);
@@ -295,7 +295,7 @@ test_photocam(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
evas_object_show(bt);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Show 30,50 500x300");
+ elm_object_text_set(bt, "Show 30,50 500x300");
evas_object_smart_callback_add(bt, "clicked", my_bt_show_reg, ph);
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(bt, 0.1, 0.5);
@@ -303,7 +303,7 @@ test_photocam(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
evas_object_show(bt);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Bring 800,300 500x300");
+ elm_object_text_set(bt, "Bring 800,300 500x300");
evas_object_smart_callback_add(bt, "clicked", my_bt_bring_reg, ph);
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(bt, 0.9, 0.5);
@@ -311,7 +311,7 @@ test_photocam(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
evas_object_show(bt);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Pause On/Off");
+ elm_object_text_set(bt, "Pause On/Off");
evas_object_smart_callback_add(bt, "clicked", my_bt_pause, ph);
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(bt, 0.1, 0.9);
@@ -319,7 +319,7 @@ test_photocam(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
evas_object_show(bt);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Fit");
+ elm_object_text_set(bt, "Fit");
evas_object_smart_callback_add(bt, "clicked", my_bt_zoom_fit, ph);
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(bt, 0.5, 0.9);
@@ -327,7 +327,7 @@ test_photocam(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
evas_object_show(bt);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Fill");
+ elm_object_text_set(bt, "Fill");
evas_object_smart_callback_add(bt, "clicked", my_bt_zoom_fill, ph);
evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(bt, 0.9, 0.9);