aboutsummaryrefslogtreecommitdiffstats
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
parent94c359416ecace0a491e3b59c8dc296242b6081d (diff)
downloadgsoc2013-evolution-3df84a345e9cec9fded0e697b660e6c18c91f9d7.tar.gz
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
-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>");
}