add 'Content-Disposition: inline' to a text/plain part when using PGP/MIME signing
authorPaul Mangan <paul@claws-mail.org>
Sat, 30 Aug 2003 08:19:05 +0000 (08:19 +0000)
committerPaul Mangan <paul@claws-mail.org>
Sat, 30 Aug 2003 08:19:05 +0000 (08:19 +0000)
ChangeLog.claws
configure.ac
src/compose.c

index 5dc1d369686ed5f7dca3b652d7d9ba942c7e5fa0..d3cde307bc7844456c07b2c9ca2a314d3bd65f10 100644 (file)
@@ -1,3 +1,9 @@
+2003-08-30 [paul]      0.9.4claws45
+
+       * src/compose.c
+               add 'Content-Disposition: inline' to a text/plain
+               part when using PGP/MIME signing
+
 2003-08-30 [paul]      0.9.4claws44
 
        * src/prefs_common.c
index 4e1abe0b2c391d0c79a95fd59b6239b7f9514c54..35c5b62480007d7dc9ef1d33d31e5556b77d4535 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=44
+EXTRA_VERSION=45
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index b9c5caa34e2bf2f1f82d88294eeee855cabfbc75..19f62a9c5ea82a20e7695c099ea525444c329c59 100644 (file)
@@ -4281,6 +4281,10 @@ static gint compose_write_headers(Compose *compose, FILE *fp,
                        " boundary=\"%s\"\n", compose->boundary);
        } else {
                fprintf(fp, "Content-Type: text/plain; charset=%s\n", charset);
+#if USE_GPGME
+               if (compose->use_signing && !compose->gnupg_mode)
+                       fprintf(fp, "Content-Disposition: inline\n");
+#endif
                fprintf(fp, "Content-Transfer-Encoding: %s\n",
                        procmime_get_encoding_str(encoding));
        }