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.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/shell/e-shell-window-commands.c b/shell/e-shell-window-commands.c
index f5d9bda47c..d9092c22a8 100644
--- a/shell/e-shell-window-commands.c
+++ b/shell/e-shell-window-commands.c
@@ -32,6 +32,7 @@
#include "evolution-shell-component-utils.h"
#include "e-util/e-dialog-utils.h"
+#include "e-util/e-passwords.h"
#include <libgnome/gnome-exec.h>
#include <libgnome/gnome-url.h>
@@ -218,6 +219,13 @@ command_send_receive (BonoboUIComponent *uih,
e_shell_send_receive (e_shell_window_peek_shell (window));
}
+static void
+command_forget_passwords (BonoboUIComponent *ui_component,
+ void *data,
+ const char *path)
+{
+ e_passwords_forget_passwords();
+}
/* Tools menu. */
@@ -257,6 +265,7 @@ static BonoboUIVerb new_verbs [] = {
static BonoboUIVerb actions_verbs[] = {
BONOBO_UI_VERB ("SendReceive", (BonoboUIVerbFn) command_send_receive),
+ BONOBO_UI_VERB ("ForgetPasswords", command_forget_passwords),
BONOBO_UI_VERB_END
};