diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-09-19 01:05:23 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-09-19 01:05:23 +0800 |
commit | 2a88606f5d7bf0ce98b930d489e54157663751f3 (patch) | |
tree | 25fd8b1781bac3f4871efcf9c078bd78ab2cae8e /mail/mail-ops.c | |
parent | 6205217822761f5e424a9207b261786f9cb8772d (diff) | |
download | gsoc2013-evolution-2a88606f5d7bf0ce98b930d489e54157663751f3.tar gsoc2013-evolution-2a88606f5d7bf0ce98b930d489e54157663751f3.tar.gz gsoc2013-evolution-2a88606f5d7bf0ce98b930d489e54157663751f3.tar.bz2 gsoc2013-evolution-2a88606f5d7bf0ce98b930d489e54157663751f3.tar.lz gsoc2013-evolution-2a88606f5d7bf0ce98b930d489e54157663751f3.tar.xz gsoc2013-evolution-2a88606f5d7bf0ce98b930d489e54157663751f3.tar.zst gsoc2013-evolution-2a88606f5d7bf0ce98b930d489e54157663751f3.zip |
updated for camel namespace changes
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c: updated for camel namespace changes
* em-folder-view.c: updated for camel namespace changes
* em-format-html-display.c: updated for camel namespace changes
* em-format-html-quote.c: updated for camel namespace changes
* em-format.c: updated for camel namespace changes
* em-popup.c: updated for camel namespace changes
* em-utils.c: updated for camel namespace changes
* mail-autofilter.c: updated for camel namespace changes
* mail-ops.c: updated for camel namespace changes
* mail-session.c: updated for camel namespace changes
* message-list.c: updated for camel namespace changes
* message-tag-followup.c: updated for camel namespace changes
* importers/evolution-mbox-importer.c: updated for camel namespace
changes
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* em-popup.c (emp_standard_menu_factory): Don't forget to
initialise/increment 'i' when using it as an object id in the
for-loop.
* em-format.c (em_format_format_text): Initialise charset to NULL
or it may be used uninitialised. Also include
gnome-vfs-mime-handlers.h for gnome_vfs_mime_type_get_description().
svn path=/trunk/; revision=22610
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 41fe74df55..605dce794e 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -1926,7 +1926,7 @@ save_prepare_part (CamelMimePart *mime_part) /* We want to save textual parts as 8bit instead of encoded */ type = camel_data_wrapper_get_mime_type_field (wrapper); - if (header_content_type_is (type, "text", "*")) + if (camel_content_type_is (type, "text", "*")) camel_mime_part_set_encoding (mime_part, CAMEL_MIME_PART_ENCODING_8BIT); } } @@ -2074,8 +2074,8 @@ save_part_save (struct _mail_msg *mm) data = camel_medium_get_content_object (CAMEL_MEDIUM (m->part)); content_type = camel_mime_part_get_content_type (m->part); - if (header_content_type_is (content_type, "text", "*") - && (charset = header_content_type_param (content_type, "charset")) + if (camel_content_type_is (content_type, "text", "*") + && (charset = camel_content_type_param (content_type, "charset")) && strcasecmp (charset, "utf-8") != 0) { charsetfilter = camel_mime_filter_charset_new_convert ("utf-8", charset); filtered_stream = (CamelStream *) camel_stream_filter_new_with_stream (stream_fs); |