From: José Dapena Paz Date: Thu, 28 Jan 2010 15:53:03 +0000 (+0100) Subject: Move modest_ui_actions_on_send_msg to plugin API. X-Git-Tag: 3.90.5~19 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=eb4268a6f0c7b194ef988497a4c3d769a2505f69 Move modest_ui_actions_on_send_msg to plugin API. --- diff --git a/src/modest-plugin-ui-actions.h b/src/modest-plugin-ui-actions.h index 1f8f457..e73365c 100644 --- a/src/modest-plugin-ui-actions.h +++ b/src/modest-plugin-ui-actions.h @@ -79,6 +79,19 @@ modest_ui_actions_on_reload_message (const gchar *msg_id); void modest_ui_actions_reply_calendar (ModestWindow *win, TnyList *header_pairs); +/** + * modest_ui_actions_on_send_msg: + * @window: parent window requesting to send the message + * @msg: a #TnyMsg + * + * This method will send @msg without showing the message editor. + * + * Returns: %TRUE if succesful, %FALSE otherwise + */ +gboolean +modest_ui_actions_on_send_msg (ModestWindow *window, + TnyMsg *msg); + G_END_DECLS #endif /* __MODEST_PLUGIN_UI_ACTIONS_H__ */ diff --git a/src/modest-ui-actions.h b/src/modest-ui-actions.h index 88ac0f0..8284cff 100644 --- a/src/modest-ui-actions.h +++ b/src/modest-ui-actions.h @@ -183,9 +183,6 @@ void modest_ui_actions_on_msg_attachment_clicked (ModestMsgView *msgview, void modest_ui_actions_on_msg_recpt_activated (ModestMsgView *msgview, const gchar *address, ModestWindow *win); -gboolean modest_ui_actions_on_send_msg (ModestWindow *window, - TnyMsg *msg); - gboolean modest_ui_actions_on_send (GtkWidget *widget, ModestMsgEditWindow *edit_window); gboolean modest_ui_actions_on_save_to_drafts (GtkWidget *widget,