From 7878c06f05c0aa1a66b380fd4f31ddde227c7db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Thu, 26 Jul 2012 21:23:29 +0200 Subject: Bug #680634 - Missing image attachment --- modules/text-highlight/e-mail-formatter-text-highlight.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'modules') 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 ( - "
" - "
\n" + "
" "" - "
", + " id=\"%s\" name=\"%s\" " + " frameborder=\"0\" src=\"%s\" " + " style=\"border: 1px solid #%06x; background-color: #%06x;\">" + "" + "
", + 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); -- cgit v1.2.3