* src/widgets/modest-msg-edit-window.h:
* Added methods for getting estimation of parts size in message.
* src/modest-window-mgr.c:
* If save to drafts fails because of disk being full, then
we don't close the editor window.
* src/widgets/modest-attachment-view.[ch]:
* Added methods to set the size externally, and be able to avoid
counting the size going through the full stream.
* src/widgets/modest-window.c:
* Close from escape shortcut only on view window, not only on
edit window. This was really not working properly, as press
was processed and release was processed after the dialog, if
more than one second was spent, then the press was considered
a force close.
* src/widgets/modest-attachments-view.[ch]:
* Added methods to get the size of attachments inside.
* src/modest-tny-msg.[ch]:
* Added method to estimate the storage size of a message, using
simply the size of the attachments and the body parts.
* src/modest-ui-actions.[ch]:
* On saving to drafts or sending new mails, we estimate the size
the message will have on device disk. If it's too big, we
cancel the save operation, and show a banner (fixes NB#77528).
* src/maemo/modest-msg-edit-window.c:
* Methods to estimate file size of attachments added (using vfs)
and the full message space (offering size of attachmetns and
images).
* src/modest-utils.c:
* New method to get the available space on device disk.
* src/modest-mail-operation.c:
* If there's an error in create msg, notify operation failed.
pmo-trunk-r4079
15 files changed: