aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-12-18 05:32:34 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-12-18 05:32:34 +0800
commitd39ecffd6d964357c55bd6cebc2cc4bb9fd4f547 (patch)
tree2943d3906b63045fb8226996c9284efb52e0280b
parent79d83995442cf9958cb382a2b949c4154b995ef9 (diff)
downloadgsoc2013-evolution-d39ecffd6d964357c55bd6cebc2cc4bb9fd4f547.tar.gz
gsoc2013-evolution-d39ecffd6d964357c55bd6cebc2cc4bb9fd4f547.tar.zst
gsoc2013-evolution-d39ecffd6d964357c55bd6cebc2cc4bb9fd4f547.zip
Set citation color to black when we are printing.
2001-12-17 Jon Trowbridge <trow@ximian.com> * mail-format.c (handle_text_plain_flowed): Set citation color to black when we are printing. svn path=/trunk/; revision=15140
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-format.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index f008f36f9b..9a080da8ce 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-12-17 Jon Trowbridge <trow@ximian.com>
+ * mail-format.c (handle_text_plain_flowed): Set citation color to
+ black when we are printing.
+
* mail-format.c (attachment_header): Avoid embedding <object> tags
when we are printing.
(handle_multipart_signed): Don't do the click-for-info signature
diff --git a/mail/mail-format.c b/mail/mail-format.c
index b3bd1379b2..76fa65e2a1 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -1250,6 +1250,10 @@ handle_text_plain_flowed (char *buf, MailDisplay *md, GtkHTML *html, GtkHTMLStre
char *text, *line, *eol, *p;
int prevquoting = 0, quoting, len, br_pending = 0;
guint32 citation_color = mail_config_get_citation_color ();
+
+ /* When printing, do citations in black -- grey tends to be hard to read. */
+ if (md->printing)
+ citation_color = 0xffffff;
mail_html_write (html, stream,
"\n<!-- text/plain, flowed -->\n"