X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-plugin-ui-actions.h;h=b17b320d174a3f43d529fe5176888be42c5c9e3b;hp=e5b6ac31eeb894eb73dc20e949f9da8027cafbad;hb=b3519aba2993cb110980a68ec408bc0dd7318269;hpb=7ad221560ce894646442b0889fa83bb38aa5aca6 diff --git a/src/modest-plugin-ui-actions.h b/src/modest-plugin-ui-actions.h index e5b6ac3..b17b320 100644 --- a/src/modest-plugin-ui-actions.h +++ b/src/modest-plugin-ui-actions.h @@ -39,8 +39,30 @@ G_BEGIN_DECLS -gboolean modest_plugin_ui_actions_on_delete_account (GtkWindow *parent_window, - const gchar *account_name, - const gchar *account_display_name); +/** + * modest_ui_actions_on_delete_account: + * @parent_window: the parent #GtkWindow of the dialog that will be shown + * @account_name: the modest name for the account to be deleted + * @account_display_name: the display name that will be used in the dialog + * + * This function will perform the actions required to delete an + * account. This function assumes that the account to be deleted is + * already disconnected, so the caller must verify that this is the + * case. Otherwise weird behaviours could happen + * + * Returns: TRUE if the account was successfully deleted, FALSE otherwise + **/ +gboolean modest_ui_actions_on_delete_account (GtkWindow *parent_window, + const gchar *account_name, + const gchar *account_display_name); + +/** + * modest_ui_actions_on_reload_message: + * @msg_id: a message id + * + * Reload the message if it's currently being shown in a view. + */ +void +modest_ui_actions_on_reload_message (const gchar *msg_id); G_END_DECLS #endif /* __MODEST_PLUGIN_UI_ACTIONS_H__ */