+2005-10-25 [colin] 1.9.15cvs106
+
+ * src/mimeview.c
+ Fix encoding issue in Save all and in
+ overwrite-confirmation alertpanel
+
2005-10-25 [cleroy] 1.9.15cvs105
* src/common/socket.c
( cvs diff -u -r 1.1.2.1 -r 1.1.2.2 manual/handling.xml; ) > 1.9.15cvs103.patchset
( cvs diff -u -r 1.1.2.22 -r 1.1.2.23 src/wizard.c; ) > 1.9.15cvs104.patchset
( cvs diff -u -r 1.13.2.16 -r 1.13.2.17 src/common/socket.c; ) > 1.9.15cvs105.patchset
+( cvs diff -u -r 1.83.2.49 -r 1.83.2.50 src/mimeview.c; ) > 1.9.15cvs106.patchset
? &filename[1] : filename, NULL);
g_free(filename);
- return fullname;
+ filename = conv_filename_from_utf8(fullname);
+ g_free(fullname);
+ return filename;
}
/**
if (is_file_exist(filename)) {
AlertValue aval;
gchar *res;
+ gchar *tmp;
+
+ if (!g_utf8_validate(filename, -1, NULL))
+ tmp = conv_filename_to_utf8(filename);
+ else
+ tmp = g_strdup(filename);
res = g_strdup_printf(_("Overwrite existing file '%s'?"),
- filename);
+ tmp);
+ g_free(tmp);
aval = alertpanel(_("Overwrite"), res, GTK_STOCK_OK,
GTK_STOCK_CANCEL, NULL);
g_free(res);