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 80969d6f17d3bdb39a575a1af733a1abe49848d8..fd5ffe9022071747242b99a10227f75b61394b09 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 3f2fcb56204efdce5740b335d93a73cf24780f15..f1e99ed34d5d6b5718339b03da87f730cb2fcb72 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 40544dba86ec646ee7f075dc628575f207890d79..638d85c417ceb6731022af06c5fa6d2fe98b9f6a 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 eb7285b547ad0f66ab1f2ade2505104102d030ad..42148b51c865a237fe3e1d43d08f3af55ec0c874 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 5952603b51c9e4f0cf2eaa112c446c55955f6c00..2784e53bccd4a59788aab7e384915ff4c4b3e0b2 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';