Fixes NB76286
authorFelipe Erias Morandeira <femorandeira@igalia.com>
Tue, 20 Nov 2007 17:35:25 +0000 (17:35 +0000)
committerFelipe Erias Morandeira <femorandeira@igalia.com>
Tue, 20 Nov 2007 17:35:25 +0000 (17:35 +0000)
commitfbada4889db693913ca987dad0195f592f7460e2
treeddc3815d44e35d071c6edce7c3174f6426cdb86f
parent4a7aa689a2c8988ede2809db007e297b05adce7c
Fixes NB76286
If the attachment has already been downloaded, it uses the existing file and doesn't try to create it again. This prevents a problem that happened when the user tried to open an attachment for the second time, but the existing file was read-only and couldn't be overwritten.

pmo-trunk-r3785
src/maemo/modest-maemo-utils.c
src/maemo/modest-maemo-utils.h
src/maemo/modest-msg-view-window.c