aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rwxr-xr-xembed/print-dialog.c6
2 files changed, 8 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 70aa23e9d..96e4365b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
{