aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-window-commands.c')
-rw-r--r--shell/e-shell-window-commands.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/e-shell-window-commands.c b/shell/e-shell-window-commands.c
index f87159fe82..fa91cb7031 100644
--- a/shell/e-shell-window-commands.c
+++ b/shell/e-shell-window-commands.c
@@ -648,7 +648,8 @@ command_forget_passwords (BonoboUIComponent *ui_component,
void *data,
const char *path)
{
- e_passwords_forget_passwords();
+ if (e_error_run (NULL, "shell:forget-passwords", NULL) == GTK_RESPONSE_OK)
+ e_passwords_forget_passwords();
}
/* Tools menu. */