diff options
author | Peter Williams <peterw@src.gnome.org> | 2000-08-25 04:20:28 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2000-08-25 04:20:28 +0800 |
commit | f6e3d603c991774938d7125d97b6e3ed10a57ddd (patch) | |
tree | 343d8bb6ab761664a6b942e8d021863ecdf27503 /mail/folder-browser-factory.c | |
parent | 73a6d43a66a828b09e2c1b5a483405e6e0b5fa6a (diff) | |
download | gsoc2013-evolution-f6e3d603c991774938d7125d97b6e3ed10a57ddd.tar gsoc2013-evolution-f6e3d603c991774938d7125d97b6e3ed10a57ddd.tar.gz gsoc2013-evolution-f6e3d603c991774938d7125d97b6e3ed10a57ddd.tar.bz2 gsoc2013-evolution-f6e3d603c991774938d7125d97b6e3ed10a57ddd.tar.lz gsoc2013-evolution-f6e3d603c991774938d7125d97b6e3ed10a57ddd.tar.xz gsoc2013-evolution-f6e3d603c991774938d7125d97b6e3ed10a57ddd.tar.zst gsoc2013-evolution-f6e3d603c991774938d7125d97b6e3ed10a57ddd.zip |
Sync the right-click menu with the main menu for modifying messages
svn path=/trunk/; revision=5018
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r-- | mail/folder-browser-factory.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index 9dacf3c83f..c9431fbb60 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -167,6 +167,7 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih, forget_passwords, folder_browser); /* Message Menu */ + /* Keep in sync with right-click menu in message-list.c:on_right_click*/ bonobo_ui_handler_menu_new_subtree ( uih, "/<Component Placeholder>/Message", _("_Message"), NULL, -1, @@ -220,6 +221,40 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih, _("_Copy Message"), NULL, -1, BONOBO_UI_HANDLER_PIXMAP_NONE, NULL, 0, 0, (void *) copy_msg, folder_browser); + bonobo_ui_handler_menu_new_separator ( + uih, "/<Component Placeholder>/Message/separator3", -1); + bonobo_ui_handler_menu_new_item ( + uih, "/<Component Placeholder>/Message/VFolder on Subject", + _("_VFolder on Subject"), NULL, -1, + BONOBO_UI_HANDLER_PIXMAP_NONE, NULL, 0, 0, + (void *) vfolder_subject, folder_browser); + bonobo_ui_handler_menu_new_item ( + uih, "/<Component Placeholder>/Message/VFolder on Sender", + _("VFolder on Se_nder"), NULL, -1, + BONOBO_UI_HANDLER_PIXMAP_NONE, NULL, 0, 0, + (void *) vfolder_sender, folder_browser); + bonobo_ui_handler_menu_new_item ( + uih, "/<Component Placeholder>/Message/VFolder on Recipients", + _("VFolder on _Recipients"), NULL, -1, + BONOBO_UI_HANDLER_PIXMAP_NONE, NULL, 0, 0, + (void *) vfolder_recipient, folder_browser); + bonobo_ui_handler_menu_new_separator ( + uih, "/<Component Placeholder>/Message/separator4", -1); + bonobo_ui_handler_menu_new_item ( + uih, "/<Component Placeholder>/Message/Filter on Subject", + _("_Filter on Subject"), NULL, -1, + BONOBO_UI_HANDLER_PIXMAP_NONE, NULL, 0, 0, + (void *) filter_subject, folder_browser); + bonobo_ui_handler_menu_new_item ( + uih, "/<Component Placeholder>/Message/Filter on Sender", + _("Fi_lter on Sender"), NULL, -1, + BONOBO_UI_HANDLER_PIXMAP_NONE, NULL, 0, 0, + (void *) filter_sender, folder_browser); + bonobo_ui_handler_menu_new_item ( + uih, "/<Component Placeholder>/Message/Filter on Recipients", + _("Filter on Rec_ipients"), NULL, -1, + BONOBO_UI_HANDLER_PIXMAP_NONE, NULL, 0, 0, + (void *) filter_recipient, folder_browser); /* Folder Menu */ bonobo_ui_handler_menu_new_subtree ( |