aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail.h
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-11 02:05:25 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-11 02:05:25 +0800
commit6079b3a3457d5f6a0a9b02e7db6a58f4ff9b0bc8 (patch)
tree245c07e855aa79cbb776c288d96de8eeb5834fa8 /mail/mail.h
parent7c200467e52ab6e1210788f97a057f85840a0d56 (diff)
downloadgsoc2013-evolution-6079b3a3457d5f6a0a9b02e7db6a58f4ff9b0bc8.tar.gz
gsoc2013-evolution-6079b3a3457d5f6a0a9b02e7db6a58f4ff9b0bc8.tar.zst
gsoc2013-evolution-6079b3a3457d5f6a0a9b02e7db6a58f4ff9b0bc8.zip
Took the logic of whether or not to make the attachment header out of the
2001-07-10 Peter Williams <peterw@ximian.com> * mail-format.c (attachment_header): Took the logic of whether or not to make the attachment header out of the actual function. (mail_part_is_displayed_inline): Return if the part is being displayed inline (regardless of whether it is actually inline). (mail_part_toggle_displayed): Toggle whether it's displayed inline or not. (get_inline_flags): Determine whether the part is displayed inline and whether it is actually inline. (mail_format_mime_message): Initialize the attachment_status hash table. * mail-display.c (inline_cb): Instead of modifying the CamelMimePart, use mail_part_toggle_displayed (button_press): As above. (pixmap_press): Use mail_part_is_displayed_inline instead of mail_part_is_inline. Get the MailDisplay from the popup to do this. * mail.h: Add prototypes. svn path=/trunk/; revision=10960
Diffstat (limited to 'mail/mail.h')
-rw-r--r--mail/mail.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail.h b/mail/mail.h
index f9bcdc7d79..b8254591c9 100644
--- a/mail/mail.h
+++ b/mail/mail.h
@@ -54,6 +54,8 @@ typedef struct {
MailMimeHandler *mail_lookup_handler (const char *mime_type);
gboolean mail_part_is_inline (CamelMimePart *part);
+gboolean mail_part_is_displayed_inline (CamelMimePart *part, MailDisplay *md);
+void mail_part_toggle_displayed (CamelMimePart *part, MailDisplay *md);
char *mail_get_message_body (CamelDataWrapper *data, gboolean want_plain,
gboolean *is_html);