From bd074ccac34cff054755f6a7240076d7bb3e3f43 Mon Sep 17 00:00:00 2001 From: Paul Bolle Date: Fri, 15 Feb 2008 16:29:34 +0000 Subject: ** Fix for bug #515659 2008-02-15 Paul Bolle ** Fix for bug #515659 * em-format-html.c: (em_format_html_set_mark_citations): Keep mark_citations and the CAMEL_MIME_FILTER_TOHTML_MARK_CITATION flag (part of text_html_flags) in sync. svn path=/trunk/; revision=35018 --- mail/em-format-html.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mail/em-format-html.c') diff --git a/mail/em-format-html.c b/mail/em-format-html.c index 138768cd67..a1faece46a 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -309,6 +309,12 @@ em_format_html_set_mark_citations(EMFormatHTML *emfh, int state, guint32 citatio if (emfh->mark_citations ^ state || emfh->citation_colour != citation_colour) { emfh->mark_citations = state; emfh->citation_colour = citation_colour; + + if (state) + emfh->text_html_flags |= CAMEL_MIME_FILTER_TOHTML_MARK_CITATION; + else + emfh->text_html_flags &= ~CAMEL_MIME_FILTER_TOHTML_MARK_CITATION; + em_format_redraw((EMFormat *)emfh); } } -- cgit v1.2.3