diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-09-21 04:10:49 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-09-21 04:10:49 +0800 |
commit | b5bf3f9615b040be5f9d7402a861b1c44dfd18c4 (patch) | |
tree | b0257a89423145f42e5b9c585e04e652f19ba8ee /mail | |
parent | 4ffc49d7b98f4693991b2cf48d564219217e5307 (diff) | |
download | gsoc2013-evolution-b5bf3f9615b040be5f9d7402a861b1c44dfd18c4.tar.gz gsoc2013-evolution-b5bf3f9615b040be5f9d7402a861b1c44dfd18c4.tar.zst gsoc2013-evolution-b5bf3f9615b040be5f9d7402a861b1c44dfd18c4.zip |
Make a neater error report
svn path=/trunk/; revision=13016
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-display.c | 4 | ||||
-rw-r--r-- | mail/mail-format.c | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index f280c9dcf7..57542c79b6 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-09-20 Iain Holmes <iain@ximian.com> + + * mail-display.c (mail_error_write): Add a <blockquote> to make the + error message look better. + 2001-09-20 <NotZed@Ximian.com> * mail-tools.c (mail_tool_uri_to_folder): Dont special case file: diff --git a/mail/mail-display.c b/mail/mail-display.c index ed51c52bad..a501fc2473 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -1268,9 +1268,9 @@ mail_error_write (GtkHTML *html, GtkHTMLStream *stream, va_end (ap); htmltext = e_text_to_html (buf, E_TEXT_TO_HTML_CONVERT_NL); - gtk_html_write (html, stream, "<em><font color=red>", 20); + gtk_html_write (html, stream, "<blockquote><em><font color=red>", 32); gtk_html_write (html, stream, htmltext, strlen (htmltext)); - gtk_html_write (html, stream, "</font></em><br>", 16); + gtk_html_write (html, stream, "</font></em></blockquote>", 29); g_free (htmltext); g_free (buf); } diff --git a/mail/mail-format.c b/mail/mail-format.c index 8e84aa2d13..480a3fbcdc 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -1077,7 +1077,7 @@ handle_text_plain (CamelMimePart *part, const char *mime_type, format = header_content_type_param (type, "format"); if (format && !g_strcasecmp (format, "flowed")) return handle_text_plain_flowed (text, md); - + mail_html_write (md->html, md->stream, "\n<!-- text/plain -->\n" "<table cellspacing=0 cellpadding=10 width=\"100%%\"><tr><td>\n"); |