2005-02-23 [colin] 1.0.1cvs15.7
authorColin Leroy <colin@colino.net>
Wed, 23 Feb 2005 13:36:18 +0000 (13:36 +0000)
committerColin Leroy <colin@colino.net>
Wed, 23 Feb 2005 13:36:18 +0000 (13:36 +0000)
* src/compose.c
Encode parts as QP or B64 if signing

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/compose.c

index 1f2f64cd03712ee830ace3d832befc35cc328f41..a62490c705f9d23073a0aa2ab13209e8bfd7d704 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-23 [colin]     1.0.1cvs15.7
+
+       * src/compose.c
+               Encode parts as QP or B64 if signing
+
 2005-02-23 [colin]     1.0.1cvs15.6
 
        * src/compose.c
index 7a8eb7f801dbd0175a26af33461208a2e82509d5..1ec4f6bbce71a0d7cd706192234eb9e7c7076d79 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.382.2.104 -r 1.382.2.105 src/compose.c; cvs diff -u -r 1.204.2.31 -r 1.204.2.32 src/prefs_common.c; cvs diff -u -r 1.395.2.54 -r 1.395.2.55 src/summaryview.c; ) > 1.0.1cvs15.4.patchset
 ( cvs diff -u -r 1.1.4.7 -r 1.1.4.9 src/expldifdlg.c; ) > 1.0.1cvs15.5.patchset
 ( cvs diff -u -r 1.382.2.105 -r 1.382.2.106 src/compose.c; cvs diff -u -r 1.150.2.20 -r 1.150.2.21 src/procmsg.c; ) > 1.0.1cvs15.6.patchset
+( cvs diff -u -r 1.382.2.106 -r 1.382.2.107 src/compose.c; ) > 1.0.1cvs15.7.patchset
index 791d90a9fb52e98cedb0be3a45f7a0bc299ffc1b..8df1a3e8a330f9ba35a3e8e66e3d5e66683cd075 100644 (file)
@@ -13,7 +13,7 @@ INTERFACE_AGE=0
 BINARY_AGE=0
 EXTRA_VERSION=15
 EXTRA_RELEASE=
-EXTRA_GTK2_VERSION=.6
+EXTRA_GTK2_VERSION=.7
 
 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}${EXTRA_RELEASE}${EXTRA_GTK2_VERSION}
index aab311b75685385477ff289ff58752deb6315b5b..fda61e25d6a9d70b07732ad68427c4ef52461f84 100644 (file)
@@ -3743,6 +3743,13 @@ static void compose_add_attachments(Compose *compose, MimeInfo *parent)
                        mimepart->disposition = DISPOSITIONTYPE_ATTACHMENT;
                }
 
+               if (compose->use_signing) {
+                       if (ainfo->encoding == ENC_7BIT)
+                               ainfo->encoding = ENC_QUOTED_PRINTABLE;
+                       else if (ainfo->encoding == ENC_8BIT)
+                               ainfo->encoding = ENC_BASE64;
+               }
+               
                procmime_encode_content(mimepart, ainfo->encoding);
 
                g_node_append(parent->node, mimepart->node);