[evolution] Bug #673228 - Fails to display attached image in attached email



commit 9e69152ab3fdd6fe2d74f656db8afc3fa6950816
Author: Dan VrÃtil <dvratil redhat com>
Date:   Thu Apr 12 15:05:51 2012 +0200

    Bug #673228 - Fails to display attached image in attached email

 mail/em-format-html.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 020ca9e..77e9c65 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -1137,6 +1137,8 @@ efh_write_message_rfc822 (EMFormat *emf,
 
 		GList *puris;
 		GList *iter;
+		EMFormatWriterInfo msgInfo = *info;
+		msgInfo.mode = EM_FORMAT_WRITE_MODE_NORMAL;
 
                 /* Create a new fake list of PURIs which will contain only
                  * PURIs from this message. */
@@ -1159,7 +1161,7 @@ efh_write_message_rfc822 (EMFormat *emf,
 
 		};
 
-		efh_write_message (emf, puris, stream, info, cancellable);
+		efh_write_message (emf, puris, stream, &msgInfo, cancellable);
 
 		g_list_free (puris);
 



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