X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-msg-edit-window.h;h=14c113bb99b550dd77a68da1b75359a426c348cd;hp=b60dec99f6344ff0bbf52b79eafc54697a413ffe;hb=cdfa49be23f8f02e602b4780bd0e1dd485624b86;hpb=f065ac27e44ca355d02b24513e6695812bcf546c diff --git a/src/widgets/modest-msg-edit-window.h b/src/widgets/modest-msg-edit-window.h index b60dec9..14c113b 100644 --- a/src/widgets/modest-msg-edit-window.h +++ b/src/widgets/modest-msg-edit-window.h @@ -396,6 +396,18 @@ gboolean modest_msg_edit_window_check_names (ModestMsgEditWindow *wind gboolean add_to_addressbook); /** + * modest_msg_edit_window_has_pending_addresses: + * @window: a #ModestMsgEditWindow + * @add_to_addressbook: if TRUE, add valid addresses to the addressbook + * + * Validates all the recipients, and checks if there are addresses in + * any field that could be added to the addressbook + * + * Returns: %TRUE if there are valid pending addresses, %FALSE otherwise + */ +gboolean modest_msg_edit_window_has_pending_addresses (ModestMsgEditWindow *window); + +/** * modest_msg_edit_window_toggle_find_toolbar: * @window: a #ModestMsgEditWindow * @show: a #gboolean