From ff31ff3b84015b5d5b164aa7a64966fbf5c7b368 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Mon, 24 Nov 2003 00:35:57 +0000 Subject: do not use horizonal rule, attachment content is now inside simple frame 2003-11-24 Radek Doulik * em-format.c (emf_multipart_mixed): do not use horizonal rule, attachment content is now inside simple frame * em-format-html.c (efh_text_plain): add 6 points around text plain content and frame it (efh_text_html): frame text/html (efh_format_do): fix body tag, set bgcolor (em_format_html_format_headers): do not put headers into own table, content body is framed now instead (efh_format_message): update for headers/body changes * em-format-html-display.c (efhd_format_attachment): put additional vertical space around attachment button svn path=/trunk/; revision=23474 --- mail/em-format-html-display.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mail/em-format-html-display.c') diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c index 6aa74be4f1..3d57961537 100644 --- a/mail/em-format-html-display.c +++ b/mail/em-format-html-display.c @@ -169,7 +169,7 @@ efhd_gtkhtml_realise(GtkHTML *html, EMFormatHTMLDisplay *efhd) b = 128 - ((SCALE * b) >> 9); } - efhd->formathtml.header_colour = ((r<<16) | (g<< 8) | b) & 0xffffff; + efhd->formathtml.body_colour = ((r<<16) | (g<< 8) | b) & 0xffffff; r = style->text[state].red >> 8; g = style->text[state].green >> 8; @@ -1310,6 +1310,7 @@ efhd_format_attachment(EMFormat *emf, CamelStream *stream, CamelMimePart *part, info->shown = em_format_is_inline(emf, info->puri.part) && handle != NULL; camel_stream_write_string(stream, + "
\n" ""); @@ -1328,7 +1329,9 @@ efhd_format_attachment(EMFormat *emf, CamelStream *stream, CamelMimePart *part, g_free(html); g_free(text); - camel_stream_write_string(stream, "
" "" "
"); + camel_stream_write_string(stream, + "\n" + "
\n"); if (handle) { if (info->shown) -- cgit v1.2.3