* src/widgets/modest-msg-edit-window.h:
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 23 Jan 2008 00:04:36 +0000 (00:04 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 23 Jan 2008 00:04:36 +0000 (00:04 +0000)
commit20f40360ad626eb860e7d106e5dcfd43a59d21d4
tree427bcf4e90621dd80cbfd273dad6e55c7e79762f
parent6dfdd25404174f69b0b3b5da601b070b4450a047
* 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:
src/maemo/modest-msg-edit-window.c
src/modest-mail-operation.c
src/modest-tny-msg.c
src/modest-tny-msg.h
src/modest-ui-actions.c
src/modest-ui-actions.h
src/modest-utils.c
src/modest-utils.h
src/widgets/modest-attachment-view.c
src/widgets/modest-attachment-view.h
src/widgets/modest-attachments-view.c
src/widgets/modest-attachments-view.h
src/widgets/modest-msg-edit-window.h
src/widgets/modest-window-mgr.c
src/widgets/modest-window.c