diff options
author | NotZed <NotZed@HelixCode.com> | 2000-05-17 07:09:26 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-05-17 07:09:26 +0800 |
commit | 464b02c84709394ad80a9f4d3d18d3105a852d84 (patch) | |
tree | 2ab3906d9d12c7480164dc7ec32659fce9e6fd7d /mail/folder-browser-factory.c | |
parent | 30871da932e684894f88483bf4934bf989a5242d (diff) | |
download | gsoc2013-evolution-464b02c84709394ad80a9f4d3d18d3105a852d84.tar gsoc2013-evolution-464b02c84709394ad80a9f4d3d18d3105a852d84.tar.gz gsoc2013-evolution-464b02c84709394ad80a9f4d3d18d3105a852d84.tar.bz2 gsoc2013-evolution-464b02c84709394ad80a9f4d3d18d3105a852d84.tar.lz gsoc2013-evolution-464b02c84709394ad80a9f4d3d18d3105a852d84.tar.xz gsoc2013-evolution-464b02c84709394ad80a9f4d3d18d3105a852d84.tar.zst gsoc2013-evolution-464b02c84709394ad80a9f4d3d18d3105a852d84.zip |
New menu to bring up the filter editor, and edit filters. They dont
get invoked yet though.
2000-05-16 NotZed <NotZed@HelixCode.com>
* mail-ops.c (filter_edit): Function to bring up the filter editor.
(filter_druid_clicked): Save/close dialogue.
* Makefile.am (evolution_mail_LDADD): Added libfilter.
(INCLUDES): Add EVOLUTION_DATADIR, and fix matt's brokeneditor(tm)
for putting spaces instead of tabs in.
svn path=/trunk/; revision=3099
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"); } |