aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2004-01-16 00:15:10 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-01-16 00:15:10 +0800
commit057394f02e7ca7dc511d16492651c7430ee86567 (patch)
tree78fcf3598d0b58e66d8af5167668a55bd8307bdd /shell/e-shell-view-menu.c
parent12491a3a9146af98be6fa88344a9edbf97774fa2 (diff)
downloadgsoc2013-evolution-057394f02e7ca7dc511d16492651c7430ee86567.tar
gsoc2013-evolution-057394f02e7ca7dc511d16492651c7430ee86567.tar.gz
gsoc2013-evolution-057394f02e7ca7dc511d16492651c7430ee86567.tar.bz2
gsoc2013-evolution-057394f02e7ca7dc511d16492651c7430ee86567.tar.lz
gsoc2013-evolution-057394f02e7ca7dc511d16492651c7430ee86567.tar.xz
gsoc2013-evolution-057394f02e7ca7dc511d16492651c7430ee86567.tar.zst
gsoc2013-evolution-057394f02e7ca7dc511d16492651c7430ee86567.zip
added ForgetPasswords menu item. (command_forget_passwords): callback for
2004-01-15 Rodrigo Moya <rodrigo@ximian.com> * e-shell-view-menu.c: added ForgetPasswords menu item. (command_forget_passwords): callback for the new menu item. * e-shell-window-commands.c: (command_forget_passwords): ditto. svn path=/trunk/; revision=24246
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 0b9bc8c071..5ea85b276e 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -44,6 +44,7 @@
#include "evolution-shell-component-utils.h"
#include "e-util/e-dialog-utils.h"
+#include "e-util/e-passwords.h"
#include <glib.h>
@@ -312,6 +313,14 @@ command_send_receive (BonoboUIComponent *ui_component,
}
static void
+command_forget_passwords (BonoboUIComponent *ui_component,
+ void *data,
+ const char *path)
+{
+ e_passwords_forget_passwords();
+}
+
+static void
command_new_folder (BonoboUIComponent *uih,
void *data,
const char *path)
@@ -689,6 +698,7 @@ static BonoboUIVerb folder_verbs [] = {
static BonoboUIVerb actions_verbs[] = {
BONOBO_UI_VERB ("SendReceive", command_send_receive),
+ BONOBO_UI_VERB ("ForgetPasswords", command_forget_passwords),
BONOBO_UI_VERB_END
};