summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/edje_externals/elm_progressbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/elementary/src/edje_externals/elm_progressbar.c')
-rw-r--r--legacy/elementary/src/edje_externals/elm_progressbar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/elementary/src/edje_externals/elm_progressbar.c b/legacy/elementary/src/edje_externals/elm_progressbar.c
index d7bdee3..aa4338e 100644
--- a/legacy/elementary/src/edje_externals/elm_progressbar.c
+++ b/legacy/elementary/src/edje_externals/elm_progressbar.c
@@ -26,7 +26,7 @@ external_progressbar_state_set(void *data __UNUSED__, Evas_Object *obj, const vo
26 else return; 26 else return;
27 27
28 if (p->label) 28 if (p->label)
29 elm_progressbar_label_set(obj, p->label); 29 elm_object_text_set(obj, p->label);
30 if (p->icon) 30 if (p->icon)
31 elm_progressbar_icon_set(obj, p->icon); 31 elm_progressbar_icon_set(obj, p->icon);
32 if (p->span_exists) 32 if (p->span_exists)
@@ -48,7 +48,7 @@ external_progressbar_param_set(void *data __UNUSED__, Evas_Object *obj, const Ed
48 { 48 {
49 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) 49 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
50 { 50 {
51 elm_progressbar_label_set(obj, param->s); 51 elm_object_text_set(obj, param->s);
52 return EINA_TRUE; 52 return EINA_TRUE;
53 } 53 }
54 } 54 }
@@ -116,7 +116,7 @@ external_progressbar_param_get(void *data __UNUSED__, const Evas_Object *obj, Ed
116 { 116 {
117 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) 117 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
118 { 118 {
119 param->s = elm_progressbar_label_get(obj); 119 param->s = elm_object_text_get(obj);
120 return EINA_TRUE; 120 return EINA_TRUE;
121 } 121 }
122 } 122 }