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 5dc1d36..d3cde30 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 4e1abe0..35c5b62 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 b9c5caa..19f62a9 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));
        }