2005-10-20 [paul] 1.9.15cvs79
authorPaul Mangan <paul@claws-mail.org>
Thu, 20 Oct 2005 13:05:58 +0000 (13:05 +0000)
committerPaul Mangan <paul@claws-mail.org>
Thu, 20 Oct 2005 13:05:58 +0000 (13:05 +0000)
* AUTHORS
* src/plugins/pgpmime/pgpmime.c
name the PGP/MIME signature 'signature.asc'
Patch by Andrew Nelson <freeandy@gmail.com>

AUTHORS
ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/plugins/pgpmime/pgpmime.c

diff --git a/AUTHORS b/AUTHORS
index 80969d6..fd5ffe9 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -236,3 +236,4 @@ contributors (beside the above; based on Changelog)
        Yang Guilong
        Daniel Gustafson
        Anders Hammar
+       Andrew Nelson
index 3f2fcb5..f1e99ed 100644 (file)
@@ -1,3 +1,10 @@
+2005-10-20 [paul]      1.9.15cvs79
+
+       * AUTHORS
+       * src/plugins/pgpmime/pgpmime.c
+               name the PGP/MIME signature 'signature.asc'
+               Patch by Andrew Nelson <freeandy@gmail.com>
+
 2005-10-19 [colin]     1.9.15cvs78
 
        * src/plugins/pgpmime/pgpmime.c
index 40544db..638d85c 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.382.2.184 -r 1.382.2.185 src/compose.c;  cvs diff -u -r 1.36.2.45 -r 1.36.2.46 src/common/utils.c;  cvs diff -u -r 1.1.2.25 -r 1.1.2.26 src/plugins/pgpmime/pgpmime.c;  ) > 1.9.15cvs76.patchset
 ( cvs diff -u -r 1.1.2.6 -r 1.1.2.7 src/plugins/pgpinline/pgpinline.c;  cvs diff -u -r 1.1.2.26 -r 1.1.2.27 src/plugins/pgpmime/pgpmime.c;  ) > 1.9.15cvs77.patchset
 ( cvs diff -u -r 1.1.2.27 -r 1.1.2.28 src/plugins/pgpmime/pgpmime.c;  ) > 1.9.15cvs78.patchset
+( cvs diff -u -r 1.100.2.27 -r 1.100.2.28 AUTHORS;  cvs diff -u -r 1.1.2.28 -r 1.1.2.29 src/plugins/pgpmime/pgpmime.c;  ) > 1.9.15cvs79.patchset
index eb7285b..42148b5 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=15
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=78
+EXTRA_VERSION=79
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 5952603..2784e53 100644 (file)
@@ -502,7 +502,12 @@ gboolean pgpmime_sign(MimeInfo *mimeinfo, PrefsAccount *account)
        newinfo = procmime_mimeinfo_new();
        newinfo->type = MIMETYPE_APPLICATION;
        newinfo->subtype = g_strdup("pgp-signature");
+       g_hash_table_insert(newinfo->typeparameters, g_strdup("name"),
+                            g_strdup("signature.asc"));
        newinfo->content = MIMECONTENT_MEM;
+       newinfo->disposition = DISPOSITIONTYPE_ATTACHMENT;
+       g_hash_table_insert(newinfo->dispositionparameters, g_strdup("filename"),
+                           g_strdup("signature.asc"));
        newinfo->data.mem = g_malloc(len + 1);
        g_memmove(newinfo->data.mem, sigcontent, len);
        newinfo->data.mem[len] = '\0';