diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-08-12 02:07:44 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-08-12 02:07:44 +0800 |
commit | 6ccafb45ae1b0469fea2ebf5e74548f9fa0d1f33 (patch) | |
tree | dc0d9c14c93f61eee7119ce6ec466aaaa2e39a98 /mail/mail-ops.c | |
parent | 15aaf53b7dc1a328f28d402f74186b993ac39eec (diff) | |
download | gsoc2013-evolution-6ccafb45ae1b0469fea2ebf5e74548f9fa0d1f33.tar.gz gsoc2013-evolution-6ccafb45ae1b0469fea2ebf5e74548f9fa0d1f33.tar.zst gsoc2013-evolution-6ccafb45ae1b0469fea2ebf5e74548f9fa0d1f33.zip |
Updated for CamelMimePart::content_type changes.
2003-08-05 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_encrypted): Updated for
CamelMimePart::content_type changes.
* mail-ops.c (save_part_save): Use
camel_data_wrapper_decode_to_stream() here.
* mail-display.c (drag_data_get_cb): Updated for
CamelMimePart::content_type changes.
(do_attachment_header): Same.
2003-07-31 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (mail_format_raw_message): Updated to pass FALSE
as the 'decode' param to
mail_format_data_wrapper_write_to_stream().
(mail_format_data_wrapper_write_to_stream): Now takes a boolean
arg telling whether to decode or not. Also reworked the charset
logic now that camel doesn't handle this for us any longer.
(mail_format_get_data_wrapper_text): Updated.
(handle_text_plain): Same.
(handle_text_enriched): Here too.
* mail-display.c (do_attachment_header): Call decode_to_stream
here instead of write_to_stream.
(do_external_viewer): Same.
(on_url_requested): Same. Also updated for
mail_format_data_wrapper_write_to_stream().
(try_part_urls): Call decode_to_stream.
(drag_data_get_cb): Same.
svn path=/trunk/; revision=22173
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 7a40e99c83..ecd56c60ed 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -2077,7 +2077,7 @@ save_part_save (struct _mail_msg *mm) filtered_stream = stream_fs; } - if (camel_data_wrapper_write_to_stream (data, filtered_stream) == -1 + if (camel_data_wrapper_decode_to_stream (data, filtered_stream) == -1 || camel_stream_flush (filtered_stream) == -1) camel_exception_setv (&mm->ex, CAMEL_EXCEPTION_SYSTEM, _("Could not write data: %s"), |