From a9e54991c38723b9f6eae6539f0acc8504034438 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Dapena=20Paz?= Date: Tue, 26 Jan 2010 11:23:19 +0100 Subject: [PATCH] Move the reply calendar method from ui actions to plugin ui actions --- src/modest-plugin-ui-actions.h | 14 ++++++++++++++ src/modest-ui-actions.h | 2 -- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/modest-plugin-ui-actions.h b/src/modest-plugin-ui-actions.h index 301a047..b53cc3e 100644 --- a/src/modest-plugin-ui-actions.h +++ b/src/modest-plugin-ui-actions.h @@ -64,5 +64,19 @@ gboolean modest_ui_actions_on_delete_account (GtkWindow *parent_window, */ void modest_ui_actions_on_reload_message (const gchar *msg_id); + +/** + * modest_ui_actions_reply_calendar: + * @win: parent #ModestWindow + * @msg: original #TnyMsg + * @header_pairs: #TnyList of #TnyPair of header pairs + * + * this method opens the mail composer with a reply of a message with calendar + * allowing to add @header_pairs with the result of the calendar request. + */ +void +modest_ui_actions_reply_calendar (ModestWindow *win, TnyMsg *msg, TnyList *header_pairs); + + G_END_DECLS #endif /* __MODEST_PLUGIN_UI_ACTIONS_H__ */ diff --git a/src/modest-ui-actions.h b/src/modest-ui-actions.h index 9d6435c..8284cff 100644 --- a/src/modest-ui-actions.h +++ b/src/modest-ui-actions.h @@ -82,8 +82,6 @@ void modest_ui_actions_on_open (GtkAction *action, ModestWindow *w void modest_ui_actions_on_reply (GtkAction *action, ModestWindow *win); -void modest_ui_actions_reply_calendar (ModestWindow *win, TnyMsg *msg, TnyList *header_pairs); - void modest_ui_actions_on_forward (GtkAction *action, ModestWindow *win); void modest_ui_actions_on_sort (GtkAction *action, ModestWindow *window); -- 1.7.9.5