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/ChangeLog | 8 ++++++++ shell/e-shell-window-commands.c | 3 ++- shell/shell.error.xml | 7 +++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index 6b8e3d0641..5405fd5aba 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,11 @@ +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 + 2005-07-21 Not Zed * e-shell-window-commands.c: fix the pixmap location for the 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. */ diff --git a/shell/shell.error.xml b/shell/shell.error.xml index e4d0506476..ede447d8d5 100644 --- a/shell/shell.error.xml +++ b/shell/shell.error.xml @@ -73,4 +73,11 @@ Click help for details.