aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/em-format-html.c6
2 files changed, 14 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 1c343b56d2..6290492979 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2008-02-15 Paul Bolle <pebolle@tiscali.nl>
+
+ ** 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.
+
2008-02-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #515054
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);
}
}