diff options
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r-- | mail/folder-browser-factory.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index b999d822bc..10696fd536 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -173,6 +173,12 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih) GNOME_STOCK_PIXMAP_TRASH, 0, 0, expunge_folder, folder_browser); + bonobo_ui_handler_menu_new_item (uih, "/Tools/Filter Druid ...", N_("_Filter Druid"), + NULL, -1, + BONOBO_UI_HANDLER_PIXMAP_NONE, + 0, + 0, 0, filter_edit, folder_browser); + toolbar = gtk_toolbar_new (GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_BOTH); @@ -195,6 +201,7 @@ control_deactivate (BonoboControl *control, BonoboUIHandler *uih) { bonobo_ui_handler_menu_remove (uih, "/File/Mail"); bonobo_ui_handler_menu_remove (uih, "/Tools/Expunge"); + bonobo_ui_handler_menu_remove (uih, "/Tools/Filter Druid ..."); bonobo_ui_handler_dock_remove (uih, "/Toolbar"); } |