Mercurial > audlegacy
changeset 4090:4d4691fdebe1
fix a bug which prevents fileinfopopup from showing non-latin file name correctly when tuple is not available.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Mon, 17 Dec 2007 22:02:52 +0900 |
parents | 9e24c8746d99 |
children | b03055a1437a |
files | src/audacious/ui_fileinfopopup.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_fileinfopopup.c Mon Dec 17 21:56:17 2007 +0900 +++ b/src/audacious/ui_fileinfopopup.c Mon Dec 17 22:02:52 2007 +0900 @@ -373,11 +373,9 @@ /* display filename if track_name is not available */ gchar *markup = g_markup_printf_escaped("<span style=\"italic\">%s</span>", _("Filename")); - gchar *utf_filename = filename_to_utf8(tuple_get_string(tuple, FIELD_FILE_NAME, NULL)); gtk_label_set_markup(GTK_LABEL(g_object_get_data(G_OBJECT(filepopup_win), "header_title")), markup); g_free(markup); - filepopup_entry_set_text(filepopup_win, "label_title", utf_filename); - g_free(utf_filename); + filepopup_entry_set_text(filepopup_win, "label_title", tuple_get_string(tuple, FIELD_FILE_NAME, NULL)); } fileinfopupup_update_data(filepopup_win, tuple_get_string(tuple, FIELD_ARTIST, NULL),