From 93a43c08814ce800cb7e340dd1224b744c989e75 Mon Sep 17 00:00:00 2001 From: Sankar P Date: Thu, 21 Jul 2005 08:59:53 +0000 Subject: Added string for forget password prompt. 2005-07-21 Sankar P * shell.error.xml : Added string for forget password prompt. * e-shell-window-commands.c: (command_forget_passwords) Added call to a confirmation dialog before forgetting passwords. Fixes bug #216021 svn path=/trunk/; revision=29828 --- shell/e-shell-window-commands.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell/e-shell-window-commands.c') 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. */ -- cgit v1.2.3