text = mp_util_isf_get_edited_str(editfiled_entry, TRUE);
if (!mp_util_is_playlist_name_valid((char *)text)) {
- //_mp_edit_playlist_destory(mp_playlist_data);
mp_widget_notify_cb_popup(ad, GET_STR("IDS_MUSIC_POP_UNABLE_RENAME_PLAYLIST"), _mp_edit_playlist_popup_timeout_cb, (void*)editfiled_entry);
IF_FREE(text);
return ;
ERROR_TRACE("Fail to get playlist count by name: %d", ret);
mp_widget_text_popup(ad, GET_STR("IDS_MUSIC_POP_UNABLE_RENAME_PLAYLIST"));
} else if (exist) {
- _mp_edit_playlist_destory(mp_playlist_data);
- IF_FREE(text);
- //mp_widget_text_popup(ad, GET_STR(STR_MP_POP_EXISTS));
- Evas_Object *popup = mp_popup_create(ad->win_main, MP_POPUP_NORMAL, NULL, NULL, NULL, ad);
- /*set text*/
- mp_util_domain_translatable_text_set(popup, STR_MP_POP_EXISTS);
- mp_popup_button_set(popup, MP_POPUP_BTN_1, STR_MP_OK, MP_POPUP_YES);
- evas_object_show(popup);
+ char *message = NULL;
+ message = g_strdup_printf(GET_STR(STR_MP_POP_PLAYLIST_EXISTS), text);
+ mp_widget_text_popup(ad, message);
+ mp_edit_playlist_content_create(mp_playlist_data);
return;
} else {
ret = mp_media_info_playlist_rename(playlist, text);