From be7fbc93cd71cb913bbe279ea55ee81bfbe5f876 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 31 Oct 2001 04:40:29 +0000 Subject: 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 --- composer/e-msg-composer.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'composer/e-msg-composer.c') 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); } -- cgit v1.2.3