aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-display.c3
-rw-r--r--mail/mail-format.c8
3 files changed, 13 insertions, 5 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index d25aabe89e..e923f2cc87 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+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
+
2001-01-02 Not Zed <NotZed@HelixCode.com>
* mail-callbacks.c (view_msg): Fix for mail_get_message change,
diff --git a/mail/mail-display.c b/mail/mail-display.c
index a700a3c9d0..c1fb94c5f3 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -831,8 +831,7 @@ redisplay (MailDisplay *md, gboolean unscroll)
oldv = adj->value;
}
md->stream = gtk_html_begin (GTK_HTML (md->html));
- mail_html_write (md->html, md->stream, "%s%s", HTML_HEADER,
- "<BODY TEXT=\"#000000\" BGCOLOR=\"#FFFFFF\">\n");
+ mail_html_write (md->html, md->stream, "%s%s", HTML_HEADER, "<BODY>\n");
if (md->current_message) {
camel_object_ref (CAMEL_OBJECT (md->current_message));
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>");
}