From ae64f7d6bf37b586dec7b3956c5badffd21a827e Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Wed, 30 Jan 2002 21:12:29 +0000 Subject: print quoted text in italic 2002-01-30 Radek Doulik * mail-format.c (handle_text_plain_flowed): print quoted text in italic svn path=/trunk/; revision=15530 --- mail/ChangeLog | 5 +++++ mail/mail-format.c | 11 +++++------ 2 files changed, 10 insertions(+), 6 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 2547011c7a..b8f2c02556 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2002-01-30 Radek Doulik + + * mail-format.c (handle_text_plain_flowed): print quoted text in + italic + 2002-01-30 Not Zed * component-factory.c (create_component): re-enable popup menu. diff --git a/mail/mail-format.c b/mail/mail-format.c index ea200f5f30..ff0bfd2c63 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -1260,10 +1260,6 @@ handle_text_plain_flowed (char *buf, MailDisplay *md, GtkHTML *html, GtkHTMLStre 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\n" "
\n\n"); @@ -1279,7 +1275,10 @@ handle_text_plain_flowed (char *buf, MailDisplay *md, GtkHTML *html, GtkHTMLStre quoting++; if (quoting != prevquoting) { if (prevquoting == 0) { - gtk_html_stream_printf (stream, "", citation_color); + if (md->printing) + mail_html_write (html, stream, ""); + else + gtk_html_stream_printf (stream, "", citation_color); if (br_pending) br_pending--; } @@ -1292,7 +1291,7 @@ handle_text_plain_flowed (char *buf, MailDisplay *md, GtkHTML *html, GtkHTMLStre prevquoting--; } if (quoting == 0) { - mail_html_write (html, stream, "\n"); + mail_html_write (html, stream, md->printing ? "" : "\n"); if (br_pending) br_pending--; } -- cgit v1.2.3