aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-05-19 22:02:29 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-05-20 01:07:21 +0800
commitca09edf8fa5f24cbc2a29989d8ba1dca5e004da2 (patch)
tree8bbdac133165d8c755300963362a54cb37a25079 /mail
parent875746e0ef57dc6f0592397d5ba9e561d8751c13 (diff)
downloadgsoc2013-evolution-ca09edf8fa5f24cbc2a29989d8ba1dca5e004da2.tar
gsoc2013-evolution-ca09edf8fa5f24cbc2a29989d8ba1dca5e004da2.tar.gz
gsoc2013-evolution-ca09edf8fa5f24cbc2a29989d8ba1dca5e004da2.tar.bz2
gsoc2013-evolution-ca09edf8fa5f24cbc2a29989d8ba1dca5e004da2.tar.lz
gsoc2013-evolution-ca09edf8fa5f24cbc2a29989d8ba1dca5e004da2.tar.xz
gsoc2013-evolution-ca09edf8fa5f24cbc2a29989d8ba1dca5e004da2.tar.zst
gsoc2013-evolution-ca09edf8fa5f24cbc2a29989d8ba1dca5e004da2.zip
Add e_mail_part_get_is_attachment().
Diffstat (limited to 'mail')
-rw-r--r--mail/em-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index fa6e704369..07c943a4e9 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -1227,7 +1227,7 @@ is_only_text_part_in_this_level (GList *parts,
if (part->is_hidden)
continue;
- if (part->is_attachment)
+ if (e_mail_part_get_is_attachment (part))
continue;
mime_type = e_mail_part_get_mime_type (part);
@@ -1331,7 +1331,7 @@ em_utils_message_to_html (CamelSession *session,
* text part in the email, thus show it (and hide again later) */
if (part->is_hidden && !hidden_text_html_part &&
mime_type != NULL &&
- !part->is_attachment &&
+ !e_mail_part_get_is_attachment (part) &&
g_ascii_strcasecmp (mime_type, "text/html") == 0 &&
is_only_text_part_in_this_level (head, part)) {
part->is_hidden = FALSE;