summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/edje_externals/elm_fileselector_button.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2011-07-04 10:14:02 +0000
committerTom Hacohen <tom@stosb.com>2011-07-04 10:14:02 +0000
commitb071be2cd2cf870ea621ed4382f4027e17ba0c46 (patch)
treef427f6e280320f11c7ca3519c3f19d5c97c8248b /legacy/elementary/src/edje_externals/elm_fileselector_button.c
parent4fb9185cf3edf5188b21d71ccd7d9b1d09bb1b5d (diff)
Elm fileselector_btn: Fix code to use the new elm_object_text_set/get API.
SVN revision: 60992
Diffstat (limited to 'legacy/elementary/src/edje_externals/elm_fileselector_button.c')
-rw-r--r--legacy/elementary/src/edje_externals/elm_fileselector_button.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/elementary/src/edje_externals/elm_fileselector_button.c b/legacy/elementary/src/edje_externals/elm_fileselector_button.c
index 6782b54..87e22c7 100644
--- a/legacy/elementary/src/edje_externals/elm_fileselector_button.c
+++ b/legacy/elementary/src/edje_externals/elm_fileselector_button.c
@@ -29,7 +29,7 @@ external_fileselector_button_state_set(void *data __UNUSED__, Evas_Object *obj,
29 else return; 29 else return;
30 30
31 if (p->label) 31 if (p->label)
32 elm_fileselector_button_label_set(obj, p->label); 32 elm_object_text_set(obj, p->label);
33 if (p->icon) elm_fileselector_button_icon_set(obj, p->icon); 33 if (p->icon) elm_fileselector_button_icon_set(obj, p->icon);
34 if (p->fs.path) elm_fileselector_button_path_set(obj, p->fs.path); 34 if (p->fs.path) elm_fileselector_button_path_set(obj, p->fs.path);
35 if (p->fs.is_save_set) 35 if (p->fs.is_save_set)
@@ -49,7 +49,7 @@ external_fileselector_button_param_set(void *data __UNUSED__, Evas_Object *obj,
49 { 49 {
50 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) 50 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
51 { 51 {
52 elm_fileselector_button_label_set(obj, param->s); 52 elm_object_text_set(obj, param->s);
53 return EINA_TRUE; 53 return EINA_TRUE;
54 } 54 }
55 } 55 }
@@ -117,7 +117,7 @@ external_fileselector_button_param_get(void *data __UNUSED__, const Evas_Object
117 { 117 {
118 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) 118 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
119 { 119 {
120 param->s = elm_fileselector_button_label_get(obj); 120 param->s = elm_object_text_get(obj);
121 return EINA_TRUE; 121 return EINA_TRUE;
122 } 122 }
123 } 123 }