aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-04-27 22:06:28 +0800
committerDan Vrátil <dvratil@redhat.com>2012-04-27 22:06:28 +0800
commitee555ef1d9c487244d7126c02cc8ebf86431f4c6 (patch)
treee0d705a217e15921c8ee2745c3de04fd693fb749
parentc09c5abbec436776c8f8e1afe5a80aaefc9574a6 (diff)
downloadgsoc2013-evolution-ee555ef1d9c487244d7126c02cc8ebf86431f4c6.tar
gsoc2013-evolution-ee555ef1d9c487244d7126c02cc8ebf86431f4c6.tar.gz
gsoc2013-evolution-ee555ef1d9c487244d7126c02cc8ebf86431f4c6.tar.bz2
gsoc2013-evolution-ee555ef1d9c487244d7126c02cc8ebf86431f4c6.tar.lz
gsoc2013-evolution-ee555ef1d9c487244d7126c02cc8ebf86431f4c6.tar.xz
gsoc2013-evolution-ee555ef1d9c487244d7126c02cc8ebf86431f4c6.tar.zst
gsoc2013-evolution-ee555ef1d9c487244d7126c02cc8ebf86431f4c6.zip
Bug #673225 - White box in message preview not wide enough for very long strings
-rw-r--r--mail/em-format-html.c14
1 files 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 (
- "<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);