X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-tny-msg.c;h=8608447e32ab691fb6e763b3658b2265dc220e78;hb=98936b16511d3ca4b7e0c09908eed8392c7d869e;hp=6cdbbd3f0776e9ba06f240d657caab3a18b64fe4;hpb=03fb7e33ee162afdb96cb51debc135a1f1721318;p=modest diff --git a/src/modest-tny-msg.c b/src/modest-tny-msg.c index 6cdbbd3..8608447 100644 --- 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); } }