[evolution] Bug #673225 - White box in message preview not wide enough for very long strings



commit ee555ef1d9c487244d7126c02cc8ebf86431f4c6
Author: Dan VrÃtil <dvratil redhat com>
Date:   Fri Apr 27 16:06:28 2012 +0200

    Bug #673225 - White box in message preview not wide enough for very long strings

 mail/em-format-html.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 9e6f1c6..d85d202 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 (
-			"<div class=\"part-container\" style=\"border-color: #%06x; "
-			"background-color: #%06x;\">"
-			"<div class=\"part-container-inner-margin\">\n"
+			"<div class=\"part-container-nostyle\">"
 			"<iframe width=\"100%%\" height=\"auto\""
-			" frameborder=\"0\" src=\"%s\"></iframe>"
-			"</div></div>",
+			" frameborder=\"0\" src=\"%s\" "
+			" style=\"border: 1px solid #%06x; background-color: #%06x;\">"
+			"</iframe>"
+			"</div>",
+			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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]