aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@src.gnome.org>2002-08-31 06:29:08 +0800
committerRadek Doulik <rodo@src.gnome.org>2002-08-31 06:29:08 +0800
commite9f381a6f5d032e21d1bc007ca94c01fc9db2ba1 (patch)
tree6f96988cb74e4e42b6efb9813bc75f9157324c33 /mail/mail-display.c
parent169515d209d163b5b973e0c06a6a3e4eda63818d (diff)
downloadgsoc2013-evolution-e9f381a6f5d032e21d1bc007ca94c01fc9db2ba1.tar
gsoc2013-evolution-e9f381a6f5d032e21d1bc007ca94c01fc9db2ba1.tar.gz
gsoc2013-evolution-e9f381a6f5d032e21d1bc007ca94c01fc9db2ba1.tar.bz2
gsoc2013-evolution-e9f381a6f5d032e21d1bc007ca94c01fc9db2ba1.tar.lz
gsoc2013-evolution-e9f381a6f5d032e21d1bc007ca94c01fc9db2ba1.tar.xz
gsoc2013-evolution-e9f381a6f5d032e21d1bc007ca94c01fc9db2ba1.tar.zst
gsoc2013-evolution-e9f381a6f5d032e21d1bc007ca94c01fc9db2ba1.zip
simplified raw view
svn path=/trunk/; revision=17938
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index e1c2b3a509..88f18b50d0 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -1700,7 +1700,10 @@ mail_display_render (MailDisplay *md, GtkHTML *html, gboolean reset_scroll)
"<!doctype html public \"-//W3C//DTD HTML 4.0 TRANSITIONAL//EN\">\n"
"<html>\n"
"<head>\n<meta name=\"generator\" content=\"Evolution Mail Component\">\n</head>\n");
- mail_html_write (html, stream, "<body marginwidth=0 marginheight=0>\n");
+ if (md->current_message && md->display_style == MAIL_CONFIG_DISPLAY_SOURCE)
+ mail_html_write (html, stream, "<body>\n");
+ else
+ mail_html_write (html, stream, "<body marginwidth=0 marginheight=0>\n");
flag = md->info ? camel_tag_get (&md->info->user_tags, "follow-up") : NULL;
completed = md->info ? camel_tag_get (&md->info->user_tags, "completed-on") : NULL;