diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rwxr-xr-x | embed/print-dialog.c | 6 |
2 files changed, 8 insertions, 5 deletions
@@ -1,5 +1,12 @@ 2004-07-07 Christian Persch <chpe@cvs.gnome.org> + * embed/print-dialog.c: (ephy_print_get_print_info): + + Don't convert filename encoding here, since we use it + as UTF-8 in MozillaPrivate. + +2004-07-07 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/Makefile.am: diff --git a/embed/print-dialog.c b/embed/print-dialog.c index 224a75691..a18728faa 100755 --- a/embed/print-dialog.c +++ b/embed/print-dialog.c @@ -164,11 +164,7 @@ ephy_print_get_print_info (void) filename = eel_gconf_get_string (print_props[FILE_PROP].pref); if (filename != NULL) { - char *expanded; - - expanded = gnome_vfs_expand_initial_tilde (filename); - info->file = g_filename_to_utf8 (expanded, -1, NULL, NULL, NULL); - g_free (expanded); + info->file = gnome_vfs_expand_initial_tilde (filename); } else { |