aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2001-03-21 00:50:43 +0800
committerRadek Doulik <rodo@src.gnome.org>2001-03-21 00:50:43 +0800
commit5b140dc1c18fa12b56438bd1045bf2960602b022 (patch)
tree3581ca9c002456b50c49714570ddd1937fb9e9a3 /mail/mail-display.c
parent3e105b5bb73b88a597ca56c14319644e4ca4c1ea (diff)
downloadgsoc2013-evolution-5b140dc1c18fa12b56438bd1045bf2960602b022.tar.gz
gsoc2013-evolution-5b140dc1c18fa12b56438bd1045bf2960602b022.tar.zst
gsoc2013-evolution-5b140dc1c18fa12b56438bd1045bf2960602b022.zip
set color in html citation
2001-03-20 Radek Doulik <rodo@ximian.com> * mail-tools.c (mail_tool_quote_message): set color in html citation * mail-config.c: added citation highlighting configuration * mail-tools.c (mail_tool_quote_message): use citation highlighting * mail-display.c (mail_text_write): use citation highlighting svn path=/trunk/; revision=8848
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 4458256d14..fa755c15d8 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -885,10 +885,12 @@ mail_text_write (GtkHTML *html, GtkHTMLStream *stream,
buf = g_strdup_vprintf (format, ap);
va_end (ap);
- htmltext = e_text_to_html (buf,
- E_TEXT_TO_HTML_CONVERT_URLS |
- E_TEXT_TO_HTML_CONVERT_NL |
- E_TEXT_TO_HTML_CONVERT_SPACES);
+ htmltext = e_text_to_html_full (buf,
+ E_TEXT_TO_HTML_CONVERT_URLS |
+ E_TEXT_TO_HTML_CONVERT_NL |
+ E_TEXT_TO_HTML_CONVERT_SPACES |
+ (mail_config_get_citation_highlight () ? E_TEXT_TO_HTML_MARK_CITATION : 0),
+ mail_config_get_citation_color ());
gtk_html_write (html, stream, "<tt>", 4);
gtk_html_write (html, stream, htmltext, strlen (htmltext));
gtk_html_write (html, stream, "</tt>", 5);