X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-ui-actions.h;h=18f1def45340802b53da5ab7e7e66829f6aa7f3b;hb=d7734ffa48df9f5928ebe090cee4120ed659539e;hp=91655be8db4913da83866850981dba65f1e0990e;hpb=093036248fff66852acee1e747b5ceb3dabbf57d;p=modest diff --git a/src/modest-ui-actions.h b/src/modest-ui-actions.h index 91655be..18f1def 100644 --- a/src/modest-ui-actions.h +++ b/src/modest-ui-actions.h @@ -40,6 +40,8 @@ G_BEGIN_DECLS /* Menu & toolbar actions */ void modest_ui_actions_on_about (GtkAction *action, ModestWindow *win); +void modest_ui_actions_refresh_message_window_after_delete (ModestMsgViewWindow* win); + void modest_ui_actions_on_delete_message (GtkAction *action, ModestWindow *win); void modest_ui_actions_on_delete_message_or_folder (GtkAction *action, ModestWindow *win); @@ -211,6 +213,9 @@ void modest_ui_actions_do_send_receive_all (ModestWindow *win); void modest_ui_actions_do_send_receive (const gchar *account_name, ModestWindow *win); +void +modest_do_refresh_current_folder(ModestWindow *win); + /** * modest_ui_actions_on_send_receive: * @action: a #GtkAction @@ -442,6 +447,27 @@ gboolean modest_ui_actions_msg_retrieval_check (ModestMailOperati void modest_ui_actions_get_msgs_full_error_handler (ModestMailOperation *mail_op, gpointer user_data); +/** A convenience method, because deleting a message is + * otherwise complicated, and it's best to change it in one place + * when we change it. + **/ +void modest_do_message_delete (TnyHeader *header, ModestWindow *win); + +/** A convenience method, because deleting a message is + * otherwise complicated, and it's best to change it in one place + * when we change it. + **/ +void modest_do_messages_delete (TnyList *headers, ModestWindow *win); + +/* Show the account creation wizard dialog. + * returns: TRUE if an account was created. FALSE if the user cancelled. + */ +gboolean modest_run_account_setup_wizard (ModestWindow *win); + +gint msgs_move_to_confirmation (GtkWindow *win, + TnyFolder *dest_folder, + gboolean delete, + TnyList *headers); G_END_DECLS #endif /* __MODEST_UI_ACTIONS_H__ */