projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03fb7e3
)
Add correctly the "Content-Disposition" header to attachments
author
Alberto Garcia
<agarcia@igalia.com>
Wed, 12 Dec 2007 18:42:15 +0000
(18:42 +0000)
committer
Alberto Garcia
<agarcia@igalia.com>
Wed, 12 Dec 2007 18:42:15 +0000
(18:42 +0000)
in modest-tny-msg
pmo-trunk-r3905
src/modest-tny-msg.c
patch
|
blob
|
history
diff --git
a/src/modest-tny-msg.c
b/src/modest-tny-msg.c
index
6cdbbd3
..
8608447
100644
(file)
--- a/
src/modest-tny-msg.c
+++ b/
src/modest-tny-msg.c
@@
-290,9
+290,9
@@
add_attachments (TnyMimePart *part, GList *attachments_list, gboolean add_inline
old_attachment = pos->data;
if (!tny_mime_part_is_purged (old_attachment)) {
attachment_part = copy_mime_part (old_attachment);
- tny_mime_part_add_part (TNY_MIME_PART (part), attachment_part);
tny_mime_part_set_header_pair (attachment_part, "Content-Disposition",
add_inline?"inline":"attachment");
+ tny_mime_part_add_part (TNY_MIME_PART (part), attachment_part);
g_object_unref (attachment_part);
}
}