From cd7969810436f5f4074736e72e6f68fac9469074 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 29 Jan 2004 09:45:59 +0000 Subject: Fixes a bug i can't find right now 2004-01-29 Not Zed * 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 --- mail/em-format.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/em-format.h') 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; -- cgit