* src/modest-ui-actions.[ch]:
* (..._on_delete) action simply closes the edit window, emitting
a delete-event signal.
* (..._on_close_window) also sends a delete-event.
* (..._on_new_msg) adds the signature if there's one configured
in the account. Also removed the "save to drafts" part just on
creating the new message (fixes #NB55341, #NB55391).
* (reply_forward_func) now gets the signature of the account.
* (..._on_save_to_drafts). New action that saves an edited
message as a draft.
* src/modest-text-utils.[ch]:
* (..._quote, ..._cite and ..._inline) now put the signature.
* Added ..._convert_buffer_to_html. This way we can convert to
html tags a subpart of a document (it does not add html
headers). Also modified ..._convert_to_html to use this
function.
* Added ..._convert_to_html_body. It converts a string to
an html that can be included inside a formatted html document.
* src/maemo/modest-address-book.c:
* (..._select_addresses): after selecting an address of a
recipient editor through the select contacts dialog, focus is
asigned to the ModestRecptEditor.
* (select_email_addrs_for_contact): when the dialog is loaded,
first address is selected by default.
* src/maemo/modest-msg-edit-window.c:
* Implemented dim rule: if focus is not in body or message
format is plain text, font actions are dimmed. Also configured
proper insensitive_press messages.
* Implemented dim rule: if To: recipient field is empty, send
action is dimmed. Also configured proper insensitive_press
message.
* Delete event handler. It shows a dialog for saving the mail
as a draft if message is modified.
* Fixed the html document parsing procedure, as it wasn't
previously really parsed because the buffer length was not
provided.
* If the account setup specified that it should by default
create plain text mails, it's used. Also radio menu option is
updated properly.
* Now we get correctly the focused widget. If "Select contacts"
is selected, it adds contacts to the focused recipient list,
or to To: field if no recipient list is focused.
* If the To: field is empty on opening editor, focus goes to it.
* Now the message stores a reference to the draft message used
to create the mail.
* Refactored the ..._select_contacts function to use the
general "open_addressbook" function.
* Added ..._is_modified and ..._reset_modified. It tells if the
message was modified by the user.
* src/maemo/ui/modest-msg-edit-window-ui.xml:
* Added email menu options Send, Save to drafts, new message,
delete.
* Added close window and close all windows menu actions.
* src/modest-formatter.[ch]:
* Now the formatter adds the signature properly.
* src/modest-mail-operation.[ch]:
* Added ..._save_to_drafts operation. It creates a mail from
editor and saves it to the active account drafts folder.
* src/modest-defs.h:
* Added configuration option for preferring formatted of plain
text.
* src/widgets/modest-recpt-view.[ch]:
* Now button release event is processed after the default
handler.
* src/widgets/modest-recpt-editor.[ch]:
* Completely new behavior for keyboard and mouse edition. Now
only one address per line. Keyboard and mouse selection treat
resolved addresses as a whole (you shouldn't be able to
manipulate a part of resolved address).
* Keyboard shortcut for adding addresses with the addressbook.
* Better focus and cursor handling.
* Now the widget does not use GTK_CAN_FOCUS.
* (..._get_buffer): new API function to export the internal
buffer.
* (..._grab_focus): new function to make the textview grab the
focus.
* src/widgets/modest-scroll-text.[ch]:
* Small fixes to calculation of the number of lines. Now it also
makes the cursor visible.
* src/widgets/modest-msg-edit-window-ui.h:
* Added actions for "window close", "new message", "delete",
"save to drafts", "all windows close"
* src/modest-tny-msg.[ch]:
* Support plain text quoted texts as input of msg editor.
* Now (create_reply_forward_mail) takes the "prefer formatted"
option.
* Now it uses the logical id's for "Re:" and "Fwd:" strings.
* Added signature support.
* src/maemo/modest-main-window-ui.h:
* Added a new action for new messages. It's used for showing a
simple "New" menu option for creating new messages from the
view (fixes #NB55368).
pmo-trunk-r1720
23 files changed: