aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser-factory.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-06-06 06:33:51 +0800
committerDan Winship <danw@src.gnome.org>2000-06-06 06:33:51 +0800
commit2f8b4bc14f6570c0d99dad52e520f6ca5342b4f8 (patch)
treeb4d094a74d7984a381f156f68d2d6dbbd821efd4 /mail/folder-browser-factory.c
parent5e20857d1c31024d98242ff416872942e8295196 (diff)
downloadgsoc2013-evolution-2f8b4bc14f6570c0d99dad52e520f6ca5342b4f8.tar.gz
gsoc2013-evolution-2f8b4bc14f6570c0d99dad52e520f6ca5342b4f8.tar.zst
gsoc2013-evolution-2f8b4bc14f6570c0d99dad52e520f6ca5342b4f8.zip
Remember passwords between calls. (forget_passwords): Callback for "Forget
* session.c (evolution_auth_callback): Remember passwords between calls. (forget_passwords): Callback for "Forget Passwords" menu item. * folder-browser-factory.c (control_activate): (control_deactivate): Add "Forget Passwords" menu item. svn path=/trunk/; revision=3434
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r--mail/folder-browser-factory.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index 6cd36daebc..d4629d6e17 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -88,6 +88,12 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih)
0,
0, 0, providers_config, NULL);
+ bonobo_ui_handler_menu_new_item (uih, "/Tools/Forget Passwords", N_("Forget _Passwords"),
+ NULL, -1,
+ BONOBO_UI_HANDLER_PIXMAP_NONE,
+ 0,
+ 0, 0, forget_passwords, NULL);
+
toolbar = gtk_toolbar_new (GTK_ORIENTATION_HORIZONTAL,
GTK_TOOLBAR_BOTH);
@@ -120,6 +126,7 @@ control_deactivate (BonoboControl *control, BonoboUIHandler *uih)
bonobo_ui_handler_menu_remove (uih, "/Tools/Filter Druid ...");
bonobo_ui_handler_menu_remove (uih, "/Tools/Virtual Folder Druid ...");
bonobo_ui_handler_menu_remove (uih, "/Tools/Mail Configuration ...");
+ bonobo_ui_handler_menu_remove (uih, "/Tools/Forget Passwords");
bonobo_ui_handler_dock_remove (uih, "/Toolbar");
}