X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fhildon2%2Fmodest-maemo-utils.c;h=6b375820b0d06b787c3c4b9822188a2abddf5b07;hp=c2248af90c25ca2e1fade938df077ef4a3d6532d;hb=ade47eb7363c46c58aea17e9994a273cab19b79c;hpb=f1c835f00b0b2975cf513c2ba6b7f5a07979e37c 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;