mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
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:
parent
81cc0b2f15
commit
a07873dd16
@ -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>
|
2007-10-16 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* NEWS: Updates
|
* NEWS: Updates
|
||||||
|
@ -866,7 +866,7 @@ update_widgets (GtkPrinterOptionWidget *widget)
|
|||||||
text = g_filename_to_utf8 (basename, -1, NULL, NULL, NULL);
|
text = g_filename_to_utf8 (basename, -1, NULL, NULL, NULL);
|
||||||
|
|
||||||
if (text != 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))
|
if (g_path_is_absolute (dirname))
|
||||||
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (priv->combo),
|
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (priv->combo),
|
||||||
dirname);
|
dirname);
|
||||||
|
Loading…
Reference in New Issue
Block a user