aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-commands.c
diff options
context:
space:
mode:
authorSankar P <psankar@novell.com>2005-07-21 16:59:53 +0800
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2005-07-21 16:59:53 +0800
commit93a43c08814ce800cb7e340dd1224b744c989e75 (patch)
tree738770dd1ba0c41f420efe9bb6146b119713b008 /shell/e-shell-window-commands.c
parentecc06b08d474ef0aa1a3d8edbe83c083463b45ab (diff)
downloadgsoc2013-evolution-93a43c08814ce800cb7e340dd1224b744c989e75.tar.gz
gsoc2013-evolution-93a43c08814ce800cb7e340dd1224b744c989e75.tar.zst
gsoc2013-evolution-93a43c08814ce800cb7e340dd1224b744c989e75.zip
Added string for forget password prompt.
2005-07-21 Sankar P <psankar@novell.com> * 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
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. */