Work to fix bug NB#80656.
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 16 Apr 2008 19:41:22 +0000 (19:41 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 16 Apr 2008 19:41:22 +0000 (19:41 +0000)
commite58bba828bffa06364fd5c014ce02f5763328325
treef39e5484a660857612eb88f98ff5fe6a32b27a68
parent1da44f9313cda2cd96051b9edfd0d6f09602084c
Work to fix bug NB#80656.
* src/modest-tny-msg.[ch]:
        * Added support for fetching errors in tinymail when we add
  attachments. In particular, now we set an error in
  copy_mime_stream if it was not successful.
* src/modest-ui-actions.c:
        * If creating message has errors because of stream read failures
  (i.e. after removing a media or switching down a server in a vfs
  stream) we go on but avoid adding the message. We also show an
  information banner.
* src/modest-mail-operation.c:
        * Manage on message creation the case of an error reading
  attachments so that we don't stop processing and show proper
  error at the end.
* src/modest-error.h:
        * Added new error for file io (it'll happen when we fail to
  retrieve an attachment).

pmo-trunk-r4424
src/modest-error.h
src/modest-mail-operation.c
src/modest-tny-msg.c
src/modest-tny-msg.h
src/modest-ui-actions.c