From 1619fbb2b5e904c49d59a3878880f43b959b2c38 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 7 Jul 2004 13:23:39 +0000 Subject: Don't convert filename encoding here, since we use it as UTF-8 in 2004-07-07 Christian Persch * embed/print-dialog.c: (ephy_print_get_print_info): Don't convert filename encoding here, since we use it as UTF-8 in MozillaPrivate. --- ChangeLog | 7 +++++++ embed/print-dialog.c | 6 +----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 70aa23e9d..96e4365b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-07-07 Christian Persch + + * 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 * embed/mozilla/EventContext.cpp: 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 { -- cgit v1.2.3