diff options
author | Dan Winship <danw@src.gnome.org> | 2001-10-31 12:40:29 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-10-31 12:40:29 +0800 |
commit | be7fbc93cd71cb913bbe279ea55ee81bfbe5f876 (patch) | |
tree | 694d2810f02ac6c31aa71b3c8475e68d14fcfe57 /composer | |
parent | 9651e23eb118e4ba2a8e5d971c3b7b10c1e233d8 (diff) | |
download | gsoc2013-evolution-be7fbc93cd71cb913bbe279ea55ee81bfbe5f876.tar gsoc2013-evolution-be7fbc93cd71cb913bbe279ea55ee81bfbe5f876.tar.gz gsoc2013-evolution-be7fbc93cd71cb913bbe279ea55ee81bfbe5f876.tar.bz2 gsoc2013-evolution-be7fbc93cd71cb913bbe279ea55ee81bfbe5f876.tar.lz gsoc2013-evolution-be7fbc93cd71cb913bbe279ea55ee81bfbe5f876.tar.xz gsoc2013-evolution-be7fbc93cd71cb913bbe279ea55ee81bfbe5f876.tar.zst gsoc2013-evolution-be7fbc93cd71cb913bbe279ea55ee81bfbe5f876.zip |
Add back the "remove Content-Disposition when sending itip" hack.
* e-msg-composer.c (build_message): Add back the "remove
Content-Disposition when sending itip" hack.
svn path=/trunk/; revision=14516
Diffstat (limited to 'composer')
-rw-r--r-- | composer/ChangeLog | 3 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index c849be32bc..05e91395b7 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,5 +1,8 @@ 2001-10-30 Dan Winship <danw@ximian.com> + * e-msg-composer.c (build_message): Add back the "remove + Content-Disposition when sending itip" hack. + * Evolution-Composer.idl (setMultipartType): New. * evolution-composer.c (impl_Composer_set_multipart_type): Allow diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 740756e2b9..4825e3b4f0 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -416,6 +416,15 @@ build_message (EMsgComposer *composer) e_msg_composer_attachment_bar_to_multipart (attachment_bar, multipart, composer->charset); + if (composer->is_alternative) { + int i; + + for (i = camel_multipart_get_number (multipart); i > 1; i--) { + part = camel_multipart_get_part (multipart, i - 1); + camel_medium_remove_header (CAMEL_MEDIUM (part), "Content-Disposition"); + } + } + current = CAMEL_DATA_WRAPPER (multipart); } |