diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-02-07 01:41:18 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-02-07 02:16:40 +0800 |
commit | c5fae912d155a7e6247d92b3974a615fd17944f0 (patch) | |
tree | 7dc2050b0df17d75490a29a46f3c81f8cfee885f /em-format/e-mail-formatter-quote-text-plain.c | |
parent | 6b3e0145df863c8f41af4e82a6ba5827a7fb767e (diff) | |
download | gsoc2013-evolution-c5fae912d155a7e6247d92b3974a615fd17944f0.tar gsoc2013-evolution-c5fae912d155a7e6247d92b3974a615fd17944f0.tar.gz gsoc2013-evolution-c5fae912d155a7e6247d92b3974a615fd17944f0.tar.bz2 gsoc2013-evolution-c5fae912d155a7e6247d92b3974a615fd17944f0.tar.lz gsoc2013-evolution-c5fae912d155a7e6247d92b3974a615fd17944f0.tar.xz gsoc2013-evolution-c5fae912d155a7e6247d92b3974a615fd17944f0.tar.zst gsoc2013-evolution-c5fae912d155a7e6247d92b3974a615fd17944f0.zip |
Use CamelMimeFilterToHTMLFlags enum type where appropriate.
Diffstat (limited to 'em-format/e-mail-formatter-quote-text-plain.c')
-rw-r--r-- | em-format/e-mail-formatter-quote-text-plain.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/em-format/e-mail-formatter-quote-text-plain.c b/em-format/e-mail-formatter-quote-text-plain.c index 95d7b54539..5f73aba3f5 100644 --- a/em-format/e-mail-formatter-quote-text-plain.c +++ b/em-format/e-mail-formatter-quote-text-plain.c @@ -58,21 +58,22 @@ emqfe_text_plain_format (EMailFormatterExtension *extension, CamelMimeFilter *sig_strip; CamelContentType *type; EMailFormatterQuoteContext *qf_context; + CamelMimeFilterToHTMLFlags text_flags; const gchar *format; - guint32 rgb = 0x737373, text_flags; + guint32 rgb = 0x737373; if (!part->part) return FALSE; qf_context = (EMailFormatterQuoteContext *) context; - text_flags = CAMEL_MIME_FILTER_TOHTML_PRE | + text_flags = + CAMEL_MIME_FILTER_TOHTML_PRE | CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS | CAMEL_MIME_FILTER_TOHTML_CONVERT_ADDRESSES; - if (e_mail_formatter_get_mark_citations (formatter)) { + if (e_mail_formatter_get_mark_citations (formatter)) text_flags |= CAMEL_MIME_FILTER_TOHTML_MARK_CITATION; - } /* Check for RFC 2646 flowed text. */ type = camel_mime_part_get_content_type (part->part); |