[evolution] Bug 678667 - 'All Message Headers' option is broken



commit e50279c95709ed9e8ff08f464e334bd0be45f02e
Author: Lucian Langa <lucilanga gnome org>
Date:   Mon Jun 25 13:16:53 2012 +0200

    Bug 678667 - 'All Message Headers' option is broken

 em-format/e-mail-formatter-headers.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/em-format/e-mail-formatter-headers.c b/em-format/e-mail-formatter-headers.c
index 0b9c25a..c646828 100644
--- a/em-format/e-mail-formatter-headers.c
+++ b/em-format/e-mail-formatter-headers.c
@@ -240,6 +240,7 @@ static void
 format_full_headers (EMailFormatter *formatter,
                      GString *buffer,
                      CamelMedium *part,
+		     guint32 mode,
                      guint32 flags,
                      GCancellable *cancellable)
 {
@@ -354,7 +355,7 @@ format_full_headers (EMailFormatter *formatter,
 	g_free (evolution_imagesdir);
 
 	/* dump selected headers */
-	if (flags & E_MAIL_FORMATTER_MODE_ALL_HEADERS) {
+	if (mode & E_MAIL_FORMATTER_MODE_ALL_HEADERS) {
 		header = ((CamelMimePart *) part)->headers;
 		while (header) {
 			e_mail_formatter_format_header (
@@ -555,7 +556,7 @@ emfe_headers_format (EMailFormatterExtension *extension,
 	}
 
 	format_full_headers (formatter, buffer,
-		(CamelMedium *) part->part, context->flags, cancellable);
+		(CamelMedium *) part->part, context->mode, context->flags, cancellable);
 
 	g_string_append (buffer, "</td></tr></table></div>");
 



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