X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-ui-actions.h;h=dafb10da5c038fec2c357fb9e079587083f7d656;hb=9e9270d41262032e6a6a6e35cdc0da60eda54a34;hp=5f731b2953972ff0f019e0d4da85fd96ddcee76f;hpb=7c554315330b15c198391928a502333c821c6b40;p=modest diff --git a/src/modest-ui-actions.h b/src/modest-ui-actions.h index 5f731b2..dafb10d 100644 --- a/src/modest-ui-actions.h +++ b/src/modest-ui-actions.h @@ -198,15 +198,23 @@ void modest_ui_actions_cancel_send (GtkAction *action, ModestWindow *win); /** * modest_ui_actions_do_send_receive_all: * @win: the window that will be used as source of the refresh mail operation + * @force_connection: whether or not the code should try to force a new connection if we're offline + * @poke_status: wheter ot not we want to poke the status of all mail folders + * @interactive: is coming from an interactive send receive. * * Refreshes all the accounts **/ void modest_ui_actions_do_send_receive_all (ModestWindow *win, - gboolean force_connection); + gboolean force_connection, + gboolean poke_status, + gboolean interactive); /** * modest_ui_actions_do_send_receive: * @account_name: the name of the Modest account or NULL + * @force_connection: whether or not the code should try to force a new connection if we're offline + * @poke_status: wheter ot not we want to poke the status of all mail folders + * @interactive: is coming from an interactive send receive * @win: the window that will be used as source of the refresh mail operation * * Refreshes the Modest account whose name is passed as argument. If @@ -216,6 +224,8 @@ void modest_ui_actions_do_send_receive_all (ModestWindow *win, **/ void modest_ui_actions_do_send_receive (const gchar *account_name, gboolean force_connection, + gboolean poke_status, + gboolean interactive, ModestWindow *win); /** @@ -446,15 +456,15 @@ gboolean modest_ui_actions_msg_retrieval_check (ModestMailOperati /** - * modest_ui_actions_get_msgs_full_error_handler + * modest_ui_actions_disk_operations_error_handler * @mail_op: a #ModestMailOperation * - * Error handler for message retrieval operations like + * Error handler for retrieval operations like * modest_mail_operation_get_msg or * modest_mail_operation_get_msgs_full **/ -void modest_ui_actions_get_msgs_full_error_handler (ModestMailOperation *mail_op, - gpointer user_data); +void modest_ui_actions_disk_operations_error_handler (ModestMailOperation *mail_op, + gpointer user_data); /* Show the account creation wizard dialog. * returns: TRUE if an account was created. FALSE if the user cancelled. @@ -514,6 +524,10 @@ void modest_ui_actions_on_account_connection_error (GtkWindow *parent_window, gchar *modest_ui_actions_get_msg_already_deleted_error_msg (ModestWindow *win); +void modest_ui_actions_transfer_messages_helper (GtkWindow *win, + TnyFolder *src_folder, + TnyList *headers, + TnyFolder *dst_folder); G_END_DECLS #endif /* __MODEST_UI_ACTIONS_H__ */