aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@helixcode.com>2001-01-03 19:28:14 +0800
committerRadek Doulik <rodo@src.gnome.org>2001-01-03 19:28:14 +0800
commit3df84a345e9cec9fded0e697b660e6c18c91f9d7 (patch)
treef9de750a8b0a3afd49e6ddf9a25ff19b17f90404 /mail/mail-format.c
parent94c359416ecace0a491e3b59c8dc296242b6081d (diff)
downloadgsoc2013-evolution-3df84a345e9cec9fded0e697b660e6c18c91f9d7.tar
gsoc2013-evolution-3df84a345e9cec9fded0e697b660e6c18c91f9d7.tar.gz
gsoc2013-evolution-3df84a345e9cec9fded0e697b660e6c18c91f9d7.tar.bz2
gsoc2013-evolution-3df84a345e9cec9fded0e697b660e6c18c91f9d7.tar.lz
gsoc2013-evolution-3df84a345e9cec9fded0e697b660e6c18c91f9d7.tar.xz
gsoc2013-evolution-3df84a345e9cec9fded0e697b660e6c18c91f9d7.tar.zst
gsoc2013-evolution-3df84a345e9cec9fded0e697b660e6c18c91f9d7.zip
add font color setting for table, changed border behavior
2001-01-03 Radek Doulik <rodo@helixcode.com> * mail-format.c (write_headers): add font color setting for table, changed border behavior * mail-display.c (redisplay): don't set body bg and text color svn path=/trunk/; revision=7231
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index c7b6a14344..c4f9ef2b7c 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -616,8 +616,10 @@ static void
write_headers (CamelMimeMessage *message, MailDisplay *md)
{
mail_html_write (md->html, md->stream,
- "<table bgcolor=\"#EEEEEE\" width=\"100%%\" "
- "cellspacing=0 border=1>"
+ "<font color=\"#000000\">"
+ "<table bgcolor=\"#000000\" width=\"100%%\" "
+ "cellspacing=0 cellpadding=1><tr><td>"
+ "<table bgcolor=\"#EEEEEE\" width=\"100%%\" cellpadding=0 cellspacing=0>"
"<tr><td><table>\n");
write_address(md, camel_mime_message_get_from(message),
@@ -634,7 +636,7 @@ write_headers (CamelMimeMessage *message, MailDisplay *md)
TRUE, md->html, md->stream);
mail_html_write (md->html, md->stream,
- "</table></td></tr></table></center><p>");
+ "</table></td></tr></table></td></tr></table></font></center><p>");
}