Move the reply calendar method from ui actions to plugin ui actions
authorJosé Dapena Paz <jdapena@igalia.com>
Tue, 26 Jan 2010 10:23:19 +0000 (11:23 +0100)
committerJosé Dapena Paz <jdapena@igalia.com>
Tue, 26 Jan 2010 10:23:19 +0000 (11:23 +0100)
src/modest-plugin-ui-actions.h
src/modest-ui-actions.h

index b17b320..d5b208a 100644 (file)
@@ -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__ */
index b305525..65d8417 100644 (file)
@@ -79,8 +79,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);