From 83cbc43d1ca7492cd3029460323a529562b23352 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 30 Oct 2001 05:25:40 +0000 Subject: Remove Content-Disposition in the no_body case. (More kludging around * e-msg-composer.c (build_message): Remove Content-Disposition in the no_body case. (More kludging around Outlook iCalendar brokenness.) svn path=/trunk/; revision=14433 --- composer/ChangeLog | 6 ++++++ composer/e-msg-composer.c | 1 + 2 files changed, 7 insertions(+) (limited to 'composer') diff --git a/composer/ChangeLog b/composer/ChangeLog index 0a39a9c2a0..4887e9792a 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,9 @@ +2001-10-30 Dan Winship + + * e-msg-composer.c (build_message): Remove Content-Disposition in + the no_body case. (More kludging around Outlook iCalendar + brokenness.) + 2001-10-29 Ettore Perazzoli * e-msg-composer.c (setup_ui): Put the charset encoding submenu in diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 0eeff9abd0..fbf2827896 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -431,6 +431,7 @@ build_message (EMsgComposer *composer) part = camel_multipart_get_part (multipart, 1); current = camel_medium_get_content_object (CAMEL_MEDIUM (part)); copy_headers (CAMEL_MEDIUM (new), CAMEL_MEDIUM (part)); + camel_medium_remove_header (CAMEL_MEDIUM (new), "Content-Disposition"); camel_object_ref (CAMEL_OBJECT (current)); camel_object_unref (CAMEL_OBJECT (multipart)); } else -- cgit v1.2.3