diff options
author | Dan Winship <danw@src.gnome.org> | 2000-06-02 08:20:30 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-06-02 08:20:30 +0800 |
commit | 70572672677b4d34b6d3b6a5c6d6458f204c9d50 (patch) | |
tree | e03267d82de5c021dd93fa8cec8158f9be9a0f61 /mail | |
parent | 0a898d1c96145bcc37fef5dad685f8c47bd98189 (diff) | |
download | gsoc2013-evolution-70572672677b4d34b6d3b6a5c6d6458f204c9d50.tar.gz gsoc2013-evolution-70572672677b4d34b6d3b6a5c6d6458f204c9d50.tar.zst gsoc2013-evolution-70572672677b4d34b6d3b6a5c6d6458f204c9d50.zip |
use <blockquote> rather than <center><table border=1 width=95%> to frame
* mail-format.c (handle_message_rfc822): use <blockquote> rather
than <center><table border=1 width=95%> to frame the embedded
message. If <pre> text in the subtable won't fit in the 95% width,
GtkHTML will write past the border of the table (and
<blockquote><table border=1> causes creeping updates so it's not
usable for now).
svn path=/trunk/; revision=3352
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 9 | ||||
-rw-r--r-- | mail/mail-format.c | 5 |
2 files changed, 11 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index f182c5c753..04882c150b 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,12 @@ +2000-06-01 Dan Winship <danw@helixcode.com> + + * mail-format.c (handle_message_rfc822): use <blockquote> rather + than <center><table border=1 width=95%> to frame the embedded + message. If <pre> text in the subtable won't fit in the 95% width, + GtkHTML will write past the border of the table (and + <blockquote><table border=1> causes creeping updates so it's not + usable for now). + 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * message-list.c (message_list_init): Turn off the grid in our diff --git a/mail/mail-format.c b/mail/mail-format.c index 790d420f18..d4840d63c7 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -1008,11 +1008,10 @@ handle_message_rfc822 (CamelMimePart *part, const char *mime_type, g_return_if_fail (CAMEL_IS_MIME_MESSAGE (wrapper)); - mail_html_write (mfd->html, mfd->stream, "<center>" - "<table border=1 width=\"95%%\"><tr><td>"); + mail_html_write (mfd->html, mfd->stream, "<blockquote>"); mail_format_mime_message (CAMEL_MIME_MESSAGE (wrapper), mfd->html, mfd->stream, mfd->root); - mail_html_write (mfd->html, mfd->stream, "</td></tr></table></center>"); + mail_html_write (mfd->html, mfd->stream, "</blockquote>"); } static void |