From: Sergio Villar Senin Date: Mon, 9 Mar 2009 12:59:00 +0000 (+0000) Subject: * Fixes NB#104896, do not show purged attachments in "Save attachment" dialog X-Git-Tag: git_migration_finished~419 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=ade47eb7363c46c58aea17e9994a273cab19b79c;ds=sidebyside * Fixes NB#104896, do not show purged attachments in "Save attachment" dialog pmo-trunk-r7847 --- diff --git a/src/hildon2/modest-maemo-utils.c b/src/hildon2/modest-maemo-utils.c index c2248af..6b37582 100644 --- a/src/hildon2/modest-maemo-utils.c +++ b/src/hildon2/modest-maemo-utils.c @@ -402,8 +402,9 @@ modest_maemo_utils_select_attachments (GtkWindow *window, TnyList *att_list) part = (TnyMimePart *) tny_iterator_get_current (iterator); - /* Embbeded messages are not offered to be saved */ - if (!TNY_IS_MSG (part)) { + /* Embbeded messages are not offered to be + saved. Purged attachments are ignored as well */ + if (!TNY_IS_MSG (part) && !tny_mime_part_is_purged (part)) { gchar *label; gchar *filename = NULL;