From 37fabe1d459e8b91ba8b6e5a98cd631be9ad63ba Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Tue, 2 Nov 2004 09:16:50 +0000 Subject: replace 3 nested html tables used to create this gray border around parts 2004-11-02 Radek Doulik * em-format-html.c: replace 3 nested html tables used to create this gray border around parts content with div block with border style svn path=/trunk/; revision=27792 --- mail/ChangeLog | 6 ++++++ mail/em-format-html.c | 33 ++++++++------------------------- 2 files changed, 14 insertions(+), 25 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 3f71c8b1cf..06877dc870 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2004-11-02 Radek Doulik + + * em-format-html.c: replace 3 nested html tables used to create + this gray border around parts content with div block with border + style + 2004-11-01 Jeffrey Stedfast * em-account-editor.c: Change the labels back to the same as they diff --git a/mail/em-format-html.c b/mail/em-format-html.c index 503a3053e2..3b26783cee 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -659,9 +659,7 @@ efh_text_plain(EMFormatHTML *efh, CamelStream *stream, CamelMimePart *part, EMFo struct _EMFormatHTMLCache *efhc; camel_stream_printf (stream, - "
\n" - "
\n" - "\n", + "
\n", efh->frame_colour & 0xffffff, efh->content_colour & 0xffffff); flags = efh->text_html_flags; @@ -743,10 +741,7 @@ efh_text_plain(EMFormatHTML *efh, CamelStream *stream, CamelMimePart *part, EMFo } camel_object_unref(filtered_stream); - camel_stream_write_string(stream, - "
\n" - "
\n" - "
\n"); + camel_stream_write_string(stream, "\n"); } static void @@ -772,18 +767,13 @@ efh_text_enriched(EMFormatHTML *efh, CamelStream *stream, CamelMimePart *part, E camel_object_unref(enriched); camel_stream_printf (stream, - "
\n" - "
\n" - "\n", + "
\n", efh->frame_colour & 0xffffff, efh->content_colour & 0xffffff); em_format_format_text((EMFormat *)efh, (CamelStream *)filtered_stream, dw); camel_object_unref(filtered_stream); - camel_stream_write_string(stream, - "
\n" - "
\n" - "
\n"); + camel_stream_write_string(stream, ""); } static void @@ -800,8 +790,7 @@ efh_text_html(EMFormatHTML *efh, CamelStream *stream, CamelMimePart *part, EMFor char *cid = NULL; camel_stream_printf (stream, - "
\n" - "
\n" + "
\n" "\n", efh->frame_colour & 0xffffff, efh->content_colour & 0xffffff); @@ -848,8 +837,7 @@ efh_text_html(EMFormatHTML *efh, CamelStream *stream, CamelMimePart *part, EMFor d(printf("adding iframe, location %s\n", cid)); camel_stream_printf(stream, "\n" - "
\n" - "
\n", + "\n", cid, cid); g_free(cid); } @@ -953,9 +941,7 @@ efh_message_deliverystatus(EMFormatHTML *efh, CamelStream *stream, CamelMimePart /* Yuck, this is copied from efh_text_plain */ camel_stream_printf (stream, - "
\n" - "
\n" - "\n", + "
\n", efh->frame_colour & 0xffffff, efh->content_colour & 0xffffff); filtered_stream = camel_stream_filter_new_with_stream(stream); @@ -968,10 +954,7 @@ efh_message_deliverystatus(EMFormatHTML *efh, CamelStream *stream, CamelMimePart camel_stream_flush((CamelStream *)filtered_stream); camel_stream_write_string(stream, "\n"); - camel_stream_write_string(stream, - "
\n" - "
\n" - "
\n"); + camel_stream_write_string(stream, ""); } static void -- cgit v1.2.3