From ee555ef1d9c487244d7126c02cc8ebf86431f4c6 Mon Sep 17 00:00:00 2001 From: Dan Vrátil Date: Fri, 27 Apr 2012 16:06:28 +0200 Subject: Bug #673225 - White box in message preview not wide enough for very long strings --- mail/em-format-html.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mail/em-format-html.c b/mail/em-format-html.c index 9e6f1c6278..d85d202e69 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -959,15 +959,15 @@ efh_write_text_html (EMFormat *emf, NULL); str = g_strdup_printf ( - "
" - "
\n" + "
" "" - "
", + " frameborder=\"0\" src=\"%s\" " + " style=\"border: 1px solid #%06x; background-color: #%06x;\">" + "" + "
", + uri, e_color_to_value (&efh->priv->colors[EM_FORMAT_HTML_COLOR_FRAME]), - e_color_to_value (&efh->priv->colors[EM_FORMAT_HTML_COLOR_CONTENT]), - uri); + e_color_to_value (&efh->priv->colors[EM_FORMAT_HTML_COLOR_CONTENT])); camel_stream_write_string (stream, str, cancellable, NULL); -- cgit