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
This commit is contained in:
Dan Winship
2001-10-31 04:40:29 +00:00
parent 9651e23eb1
commit be7fbc93cd
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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);
}