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