X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-ui-actions.h;h=18f1def45340802b53da5ab7e7e66829f6aa7f3b;hb=1318a4fcab76539565f84ccc7864072d364f79ee;hp=a22722a37ff1eb9f751c945ad2dc8d834ca2d9cd;hpb=84bdab3fb33ca726cf54ad2cc5ce8d7d1f2bb77c;p=modest diff --git a/src/modest-ui-actions.h b/src/modest-ui-actions.h index a22722a..18f1def 100644 --- a/src/modest-ui-actions.h +++ b/src/modest-ui-actions.h @@ -453,10 +453,21 @@ void modest_ui_actions_get_msgs_full_error_handler (ModestMailOperat **/ 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__ */