2006-02-04 [colin] 2.0.0cvs11
authorColin Leroy <colin@colino.net>
Sat, 4 Feb 2006 19:13:38 +0000 (19:13 +0000)
committerColin Leroy <colin@colino.net>
Sat, 4 Feb 2006 19:13:38 +0000 (19:13 +0000)
* src/summaryview.c
* src/mimeview.c
Fix utf8 conversion

ChangeLog
PATCHSETS
configure.ac
src/mimeview.c
src/summaryview.c

index d3b72650ea48b785fce132ea41c608ddb5139c67..6a4e527bd4c2785687d45a39dc87080bcdd7cceb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-02-04 [colin]     2.0.0cvs11
+
+       * src/summaryview.c
+       * src/mimeview.c
+               Fix utf8 conversion
+
 2006-02-04 [colin]     2.0.0cvs10
 
        * src/compose.c
index b93664650b450ab3832c37dbd043d246d9ff44bc..76ee770f052939def7ab450e3cf7e959d4a35825 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.83.2.60 -r 1.83.2.61 src/mimeview.c;  ) > 2.0.0cvs8.patchset
 ( cvs diff -u -r 1.274.2.94 -r 1.274.2.95 src/mainwindow.c;  ) > 2.0.0cvs9.patchset
 ( cvs diff -u -r 1.382.2.233 -r 1.382.2.234 src/compose.c;  cvs diff -u -r 1.207.2.85 -r 1.207.2.86 src/folderview.c;  cvs diff -u -r 1.83.2.61 -r 1.83.2.62 src/mimeview.c;  cvs diff -u -r 1.395.2.160 -r 1.395.2.161 src/summaryview.c;  cvs diff -u -r 1.68.2.14 -r 1.68.2.15 src/summaryview.h;  ) > 2.0.0cvs10.patchset
+( cvs diff -u -r 1.395.2.161 -r 1.395.2.162 src/summaryview.c;  cvs diff -u -r 1.83.2.62 -r 1.83.2.63 src/mimeview.c;  ) > 2.0.0cvs11.patchset
index dcc364a71619935c82070ea586828396d35db92f..e47269740ac1b9c997230e68b9d38347c7b21255 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=0
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=10
+EXTRA_VERSION=11
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 641a7cb64d6259c80ae900d6e95afe7a9662280f..321e8f2ce0e2e5f6513487e548e6a972ce24a2c8 100644 (file)
@@ -1308,11 +1308,10 @@ static void mimeview_drag_data_get(GtkWidget        *widget,
                filename = g_path_get_basename("Unnamed part");
                
 
-
-       tmp = filename;
+       tmp = g_filename_from_utf8(filename, -1, NULL, NULL, NULL);
        
        filename = g_strconcat(get_mime_tmp_dir(), G_DIR_SEPARATOR_S,
-                              filename, NULL);
+                              tmp, NULL);
 
        g_free(tmp);
 
@@ -1320,6 +1319,7 @@ static void mimeview_drag_data_get(GtkWidget          *widget,
                alertpanel_error
                        (_("Can't save the part of multipart message."));
        uriname = g_strconcat("file://", filename, NULL);
+
        gtk_selection_data_set(selection_data, selection_data->target, 8,
                               uriname, strlen(uriname));
 
index 5c3739cd064696202b80092c85c78cf989d74960..7dc779a078cd1336718f8b462f83b93ffda6abe5 100644 (file)
@@ -5184,7 +5184,9 @@ static void summary_drag_data_get(GtkWidget        *widget,
                                                G_DIR_SEPARATOR_S,
                                                san_subject, msginfo->msgnum);
                                g_free(san_subject);
-
+                               san_subject = g_filename_from_utf8(dest, -1, NULL, NULL, NULL);
+                               g_free(dest);
+                               dest = san_subject;
                                if (copy_file(tmp2, dest, TRUE) == 0) {
                                        g_free(tmp2);
                                        tmp2 = dest;