if (!value)
{
elm_icon_standard_set(ic, "folder");
- elm_fileselector_entry_button_label_set(fs_en, "Select a folder");
+ elm_object_text_set(fs_en, "Select a folder");
}
else
{
elm_icon_standard_set(ic, "file");
- elm_fileselector_entry_button_label_set(fs_en, "Select a file");
+ elm_object_text_set(fs_en, "Select a file");
}
}
elm_icon_standard_set(ic, "file");
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
fs_en = elm_fileselector_entry_add(win);
- elm_fileselector_entry_button_label_set(fs_en, "Select a file");
+ elm_object_text_set(fs_en, "Select a file");
elm_fileselector_entry_button_icon_set(fs_en, ic);
evas_object_size_hint_weight_set(fs_en, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(fs_en, EVAS_HINT_FILL, EVAS_HINT_FILL);
else return;
if (p->label)
- elm_fileselector_entry_button_label_set(obj, p->label);
+ elm_object_text_set(obj, p->label);
if (p->icon) elm_fileselector_entry_button_icon_set(obj, p->icon);
if (p->fs.path) elm_fileselector_entry_selected_set(obj, p->fs.path);
if (p->fs.is_save_set)
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
{
- elm_fileselector_entry_button_label_set(obj, param->s);
+ elm_object_text_set(obj, param->s);
return EINA_TRUE;
}
}
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
{
- param->s = elm_fileselector_entry_button_label_get(obj);
+ param->s = elm_object_text_get(obj);
return EINA_TRUE;
}
}