Work to improve drafts handling, mainly from the UI pov. This, with
authorJose Dapena Paz <jdapena@igalia.com>
Thu, 5 Jul 2007 20:23:03 +0000 (20:23 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Thu, 5 Jul 2007 20:23:03 +0000 (20:23 +0000)
commite6e3a7f147bca7c03f0cc4964b6ad141049bb1d5
tree56e6b938ebc7d482f83520d813042ac2ca1e8825
parentb21a3830fd5df0e836fb641378b8435f472b080c
Work to improve drafts handling, mainly from the UI pov. This, with
the last changes in tinymail, fixes NB#62652.
* src/widgets/modest-platform.h, src/maemo/modest-platform.c:
        * Added new function modest_platform_run_yes_no_dialog. It's
          required in some dialogs in specs.
* src/widgets/modest-msg-edit-window.h,
  src/maemo/modest-msg-edit-window.c:
        * New method to set the draft message from outside. This is used
          to properly update the draft message when it's a new one.
        * On setting a new draft message, it replaces the registered
          header in the window manager. This way we can open a drafts
          message more than one time.
* src/widgets/modest-window-mgr.c:
        * Now the save to drafts confirmation dialog shows Yes/no
          alternatives instead of Ok/Cancel.
* src/modest-ui-actions.c:
        * Now, when a draft is saved from the editor, we set the
          created draft as the new draft message of editor. This
          should make saving drafts more than one time work as
          expected.
* src/modest-mail-operation.[ch]:
        * Now ..._save_to_drafts returns the newly created message.

pmo-trunk-r2601
src/maemo/modest-msg-edit-window.c
src/maemo/modest-platform.c
src/modest-mail-operation.c
src/modest-mail-operation.h
src/modest-platform.h
src/modest-ui-actions.c
src/widgets/modest-msg-edit-window.h
src/widgets/modest-window-mgr.c