aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-02-26 08:26:55 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-02-26 08:26:55 +0800
commitb0a253e060442cad91f28458f868d64c98ac1817 (patch)
tree813159647f669cc8c9a06371ecc79a1bf482f046 /mail/mail-display.c
parent822bc5f1d92f2f0c481d84c2d40f6f1cf02a5e50 (diff)
downloadgsoc2013-evolution-b0a253e060442cad91f28458f868d64c98ac1817.tar.gz
gsoc2013-evolution-b0a253e060442cad91f28458f868d64c98ac1817.tar.zst
gsoc2013-evolution-b0a253e060442cad91f28458f868d64c98ac1817.zip
If a related part is requested, remove it from the related undisplayed
2002-02-26 Not Zed <NotZed@Ximian.com> * mail-display.c (on_url_requested): If a related part is requested, remove it from the related undisplayed list. * mail-format.c (handle_multipart_related): Check if related parts are displayed, if not, remove them. For #2741. svn path=/trunk/; revision=15837
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index bc74557618..81a9fce492 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -1162,6 +1162,9 @@ on_url_requested (GtkHTML *html, const char *url, GtkHTMLStream *handle,
g_return_if_fail (CAMEL_IS_MEDIUM (medium));
+ if (md->related)
+ g_hash_table_remove(md->related, medium);
+
data = camel_medium_get_content_object (medium);
if (!mail_content_loaded (data, md, FALSE, url, html, handle))
return;