aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-01-29 17:45:59 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-01-29 17:45:59 +0800
commitcd7969810436f5f4074736e72e6f68fac9469074 (patch)
tree7767882422251390ce1c9c06300bf662a2ffdc2b /mail/em-format.h
parent1d8c2ddc164c6b4c90f58310b385655ccdd98667 (diff)
downloadgsoc2013-evolution-cd7969810436f5f4074736e72e6f68fac9469074.tar.gz
gsoc2013-evolution-cd7969810436f5f4074736e72e6f68fac9469074.tar.zst
gsoc2013-evolution-cd7969810436f5f4074736e72e6f68fac9469074.zip
Fixes a bug i can't find right now
2004-01-29 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_attachment_button): check the snooped type for the icon/etc. (efhd_format_attachment): save the snooped type in the attach_puri. * em-format-html.c (efh_text_plain): If we had a snooped type, use that as the base type, rather than octet-stream, which will cause an attachment in attachment loop. * em-format.c (em_format_part_as): save the current snooped mime type in a stack if we had any. svn path=/trunk/; revision=24515
Diffstat (limited to 'mail/em-format.h')
-rw-r--r--mail/em-format.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/em-format.h b/mail/em-format.h
index 5d41ae0020..a5fd08f55c 100644
--- a/mail/em-format.h
+++ b/mail/em-format.h
@@ -112,6 +112,8 @@ struct _EMFormat {
struct _CamelSession *session; /* session, used for authentication when required */
struct _CamelURL *base; /* current location (base url) */
+ const char *snoop_mime_type; /* if we snooped an application/octet-stream type, what we snooped */
+
/* for forcing inlining */
GHashTable *inline_table;