aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-formatter-headers.c
diff options
context:
space:
mode:
authorLucian Langa <lucilanga@gnome.org>2012-06-25 19:16:53 +0800
committerLucian Langa <lucilanga@gnome.org>2012-06-25 19:16:53 +0800
commite50279c95709ed9e8ff08f464e334bd0be45f02e (patch)
treed02de0c23b621a6c6142c6e3e86e96404ec6f9ef /em-format/e-mail-formatter-headers.c
parent05ab1cc16b8f9ed2d164257d0190adb4a415e3ad (diff)
downloadgsoc2013-evolution-e50279c95709ed9e8ff08f464e334bd0be45f02e.tar.gz
gsoc2013-evolution-e50279c95709ed9e8ff08f464e334bd0be45f02e.tar.zst
gsoc2013-evolution-e50279c95709ed9e8ff08f464e334bd0be45f02e.zip
Bug 678667 - 'All Message Headers' option is broken
Diffstat (limited to 'em-format/e-mail-formatter-headers.c')
-rw-r--r--em-format/e-mail-formatter-headers.c5
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 0b9c25a4c6..c64682854b 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>");