Actually use the utf-8 version of the filename. (#485301, Takao Fujiwara)

2007-10-16  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkprinteroptionwidget.c (update_widgets): Actually use
        the utf-8 version of the filename.  (#485301, Takao Fujiwara)


svn path=/trunk/; revision=18912
This commit is contained in:
Matthias Clasen 2007-10-16 17:25:55 +00:00 committed by Matthias Clasen
parent 81cc0b2f15
commit a07873dd16
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-10-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprinteroptionwidget.c (update_widgets): Actually use
the utf-8 version of the filename. (#485301, Takao Fujiwara)
2007-10-16 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates

View File

@ -866,7 +866,7 @@ update_widgets (GtkPrinterOptionWidget *widget)
text = g_filename_to_utf8 (basename, -1, NULL, NULL, NULL);
if (text != NULL)
gtk_entry_set_text (GTK_ENTRY (priv->entry), basename);
gtk_entry_set_text (GTK_ENTRY (priv->entry), text);
if (g_path_is_absolute (dirname))
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (priv->combo),
dirname);