aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucian Langa <lucilanga@gnome.org>2012-09-11 22:19:00 +0800
committerMilan Crha <mcrha@redhat.com>2012-09-11 22:19:00 +0800
commitd655d5889c1f1b1aab61070f987b811fd262c469 (patch)
tree1e95af2bd78a3b3beb316ce4f47796bd93b1314d
parent24bc436a653ab766c2c9cf91fa21b58c52aafecf (diff)
downloadgsoc2013-evolution-d655d5889c1f1b1aab61070f987b811fd262c469.tar
gsoc2013-evolution-d655d5889c1f1b1aab61070f987b811fd262c469.tar.gz
gsoc2013-evolution-d655d5889c1f1b1aab61070f987b811fd262c469.tar.bz2
gsoc2013-evolution-d655d5889c1f1b1aab61070f987b811fd262c469.tar.lz
gsoc2013-evolution-d655d5889c1f1b1aab61070f987b811fd262c469.tar.xz
gsoc2013-evolution-d655d5889c1f1b1aab61070f987b811fd262c469.tar.zst
gsoc2013-evolution-d655d5889c1f1b1aab61070f987b811fd262c469.zip
Bug #683663 - Attachment bar missing when showing 'All Message Headers'
-rw-r--r--em-format/e-mail-formatter-attachment-bar.c3
-rw-r--r--em-format/e-mail-formatter-attachment.c3
-rw-r--r--em-format/e-mail-formatter-secure-button.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/em-format/e-mail-formatter-attachment-bar.c b/em-format/e-mail-formatter-attachment-bar.c
index ae86007faf..eea8962f84 100644
--- a/em-format/e-mail-formatter-attachment-bar.c
+++ b/em-format/e-mail-formatter-attachment-bar.c
@@ -64,7 +64,8 @@ emfe_attachment_bar_format (EMailFormatterExtension *extension,
gchar *str;
if ((context->mode != E_MAIL_FORMATTER_MODE_NORMAL) &&
- (context->mode != E_MAIL_FORMATTER_MODE_RAW))
+ (context->mode != E_MAIL_FORMATTER_MODE_RAW) &&
+ (context->mode != E_MAIL_FORMATTER_MODE_ALL_HEADERS))
return FALSE;
str = g_strdup_printf (
diff --git a/em-format/e-mail-formatter-attachment.c b/em-format/e-mail-formatter-attachment.c
index 2117cf7885..e0e6b90fbe 100644
--- a/em-format/e-mail-formatter-attachment.c
+++ b/em-format/e-mail-formatter-attachment.c
@@ -138,7 +138,8 @@ emfe_attachment_format (EMailFormatterExtension *extension,
empa = (EMailPartAttachment *) part;
if ((context->mode == E_MAIL_FORMATTER_MODE_NORMAL) ||
- (context->mode == E_MAIL_FORMATTER_MODE_PRINTING)) {
+ (context->mode == E_MAIL_FORMATTER_MODE_PRINTING) ||
+ (context->mode == E_MAIL_FORMATTER_MODE_ALL_HEADERS)) {
if (part->validity) {
e_attachment_set_signed (
empa->attachment, part->validity->sign.status);
diff --git a/em-format/e-mail-formatter-secure-button.c b/em-format/e-mail-formatter-secure-button.c
index 48d037c831..755497a750 100644
--- a/em-format/e-mail-formatter-secure-button.c
+++ b/em-format/e-mail-formatter-secure-button.c
@@ -94,7 +94,8 @@ emfe_secure_button_format (EMailFormatterExtension *extension,
gchar *str;
if ((context->mode != E_MAIL_FORMATTER_MODE_NORMAL) &&
- (context->mode != E_MAIL_FORMATTER_MODE_RAW))
+ (context->mode != E_MAIL_FORMATTER_MODE_RAW) &&
+ (context->mode != E_MAIL_FORMATTER_MODE_ALL_HEADERS))
return FALSE;
str = g_strdup_printf (