projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Fixes NB#104896, do not show purged attachments in "Save attachment" dialog
[modest]
/
src
/
hildon2
/
modest-maemo-utils.c
diff --git
a/src/hildon2/modest-maemo-utils.c
b/src/hildon2/modest-maemo-utils.c
index
c2248af
..
6b37582
100644
(file)
--- 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);
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;
gchar *label;
gchar *filename = NULL;