[Commits] [SCM] claws branch, master, updated. 3.10.1-140-g81b0679

claws at claws-mail.org claws at claws-mail.org
Sat Aug 2 10:06:33 CEST 2014


The branch, master has been updated
       via  81b0679965b506fce98bedb70f74f8df70e81312 (commit)
      from  d1d1180b1bbe90db3c57f0ee99baaeab90e81f31 (commit)

Summary of changes:
 src/plugins/pgpmime/pgpmime.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)


- Log -----------------------------------------------------------------
commit 81b0679965b506fce98bedb70f74f8df70e81312
Author: Paul <paul at claws-mail.org>
Date:   Sat Aug 2 09:06:17 2014 +0100

    implement RFE 3239, 'Remove "Content-Disposition: attachment" from PGP/MIME signed messages'
    
    modified version of the patch submitted by tdajd at 6paq.com

diff --git a/src/plugins/pgpmime/pgpmime.c b/src/plugins/pgpmime/pgpmime.c
index c97834d..b9a3d7d 100644
--- a/src/plugins/pgpmime/pgpmime.c
+++ b/src/plugins/pgpmime/pgpmime.c
@@ -592,12 +592,8 @@ gboolean pgpmime_sign(MimeInfo *mimeinfo, PrefsAccount *account, const gchar *fr
 	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->description = g_strdup(_("OpenPGP digital signature"));
 	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';

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list