}
if (wd->label)
{
- edje_object_part_text_set(wd->progressbar, "elm.text", wd->label);
+ edje_object_part_text_escaped_set(wd->progressbar, "elm.text", wd->label);
edje_object_signal_emit(wd->progressbar, "elm,state,text,visible", "elm");
}
if (wd->pulse)
{
char buf[1024];
snprintf(buf, sizeof(buf), wd->units, 100 * wd->val);
- edje_object_part_text_set(wd->progressbar, "elm.text.status", buf);
+ edje_object_part_text_escaped_set(wd->progressbar, "elm.text.status", buf);
}
else
- edje_object_part_text_set(wd->progressbar, "elm.text.status", NULL);
+ edje_object_part_text_escaped_set(wd->progressbar, "elm.text.status", NULL);
}
static void
edje_object_signal_emit(wd->progressbar, "elm,state,text,hidden", "elm");
edje_object_message_signal_process(wd->progressbar);
}
- edje_object_part_text_set(wd->progressbar, "elm.text", label);
+ edje_object_part_text_escaped_set(wd->progressbar, "elm.text", label);
_sizing_eval(obj);
}
}
EAPI void
-elm_progressbar_label_set(Evas_Object *obj, const char *label)
-{
- _elm_progressbar_label_set(obj, NULL, label);
-}
-
-EAPI const char *
-elm_progressbar_label_get(const Evas_Object *obj)
-{
- return _elm_progressbar_label_get(obj, NULL);
-}
-
-EAPI void
-elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon)
-{
- _content_set_hook(obj, "icon", icon);
-}
-
-EAPI Evas_Object *
-elm_progressbar_icon_get(const Evas_Object *obj)
-{
- return _content_get_hook(obj, "icon");
-}
-
-EAPI Evas_Object *
-elm_progressbar_icon_unset(Evas_Object *obj)
-{
- return _content_unset_hook(obj, "icon");
-}
-
-EAPI void
elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size)
{
ELM_CHECK_WIDTYPE(obj, widtype);