aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-10-30 13:25:40 +0800
committerDan Winship <danw@src.gnome.org>2001-10-30 13:25:40 +0800
commit83cbc43d1ca7492cd3029460323a529562b23352 (patch)
tree33d76a18dcddaffd7bfdd36cbd6a0dfb312ba8dc
parentac2ffbc8e371424999b80e22304b3c1f77ebfe6b (diff)
downloadgsoc2013-evolution-83cbc43d1ca7492cd3029460323a529562b23352.tar
gsoc2013-evolution-83cbc43d1ca7492cd3029460323a529562b23352.tar.gz
gsoc2013-evolution-83cbc43d1ca7492cd3029460323a529562b23352.tar.bz2
gsoc2013-evolution-83cbc43d1ca7492cd3029460323a529562b23352.tar.lz
gsoc2013-evolution-83cbc43d1ca7492cd3029460323a529562b23352.tar.xz
gsoc2013-evolution-83cbc43d1ca7492cd3029460323a529562b23352.tar.zst
gsoc2013-evolution-83cbc43d1ca7492cd3029460323a529562b23352.zip
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
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer.c1
2 files changed, 7 insertions, 0 deletions
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 <danw@ximian.com>
+
+ * 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 <ettore@ximian.com>
* 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