]> Pileus Git - ~andy/gtk/commitdiff
Actually use the utf-8 version of the filename. (#485301, Takao Fujiwara)
authorMatthias Clasen <mclasen@redhat.com>
Tue, 16 Oct 2007 17:25:55 +0000 (17:25 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 16 Oct 2007 17:25:55 +0000 (17:25 +0000)
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

ChangeLog
gtk/gtkprinteroptionwidget.c

index 57878bb6e3ff38339986bf06bdae7a664556fc1d..f0a6301998cdd8c49e081e4c57721f67f4163992 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 954da73cf8e3b7aee2e6cab95474326f621f01c8..c058adb59b34b14eba67941d78d51768d646a715 100644 (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);