aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-07-27 03:23:29 +0800
committerDan Vrátil <dvratil@redhat.com>2012-07-27 03:23:29 +0800
commit7878c06f05c0aa1a66b380fd4f31ddde227c7db1 (patch)
tree7b42596d2eccfba5f23a9aab34c079514ce4cd2a /modules
parent181ae9cd3ec31790190a2a7adf008605598584c6 (diff)
downloadgsoc2013-evolution-7878c06f05c0aa1a66b380fd4f31ddde227c7db1.tar
gsoc2013-evolution-7878c06f05c0aa1a66b380fd4f31ddde227c7db1.tar.gz
gsoc2013-evolution-7878c06f05c0aa1a66b380fd4f31ddde227c7db1.tar.bz2
gsoc2013-evolution-7878c06f05c0aa1a66b380fd4f31ddde227c7db1.tar.lz
gsoc2013-evolution-7878c06f05c0aa1a66b380fd4f31ddde227c7db1.tar.xz
gsoc2013-evolution-7878c06f05c0aa1a66b380fd4f31ddde227c7db1.tar.zst
gsoc2013-evolution-7878c06f05c0aa1a66b380fd4f31ddde227c7db1.zip
Bug #680634 - Missing image attachment
Diffstat (limited to 'modules')
-rw-r--r--modules/text-highlight/e-mail-formatter-text-highlight.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/modules/text-highlight/e-mail-formatter-text-highlight.c b/modules/text-highlight/e-mail-formatter-text-highlight.c
index e216245500..7dfeac1c60 100644
--- a/modules/text-highlight/e-mail-formatter-text-highlight.c
+++ b/modules/text-highlight/e-mail-formatter-text-highlight.c
@@ -293,19 +293,20 @@ emfe_text_highlight_format (EMailFormatterExtension *extension,
g_free (syntax);
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=\"10\""
- " name=\"%s\" frameborder=\"0\" src=\"%s\"></iframe>"
- "</div></div>",
+ " id=\"%s\" name=\"%s\" "
+ " frameborder=\"0\" src=\"%s\" "
+ " style=\"border: 1px solid #%06x; background-color: #%06x;\">"
+ "</iframe>"
+ "</div>",
+ part->id, part->id, uri,
e_color_to_value ((GdkColor *)
e_mail_formatter_get_color (
formatter, E_MAIL_FORMATTER_COLOR_FRAME)),
e_color_to_value ((GdkColor *)
e_mail_formatter_get_color (
- formatter, E_MAIL_FORMATTER_COLOR_CONTENT)),
- part->id, uri);
+ formatter, E_MAIL_FORMATTER_COLOR_CONTENT)));
camel_stream_write_string (stream, str, cancellable, NULL);