diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-08-07 14:55:53 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-08-07 14:55:53 +0800 |
commit | 9739fb5219a67aab4e7e7f2b84ec3795ef042f09 (patch) | |
tree | 060d7bfd52379c64f9418a65e1d2c2538bdfdbbb /mail/folder-browser-factory.c | |
parent | c6c1164cca58c30c9bec04ca1c01856ed04a1366 (diff) | |
download | gsoc2013-evolution-9739fb5219a67aab4e7e7f2b84ec3795ef042f09.tar gsoc2013-evolution-9739fb5219a67aab4e7e7f2b84ec3795ef042f09.tar.gz gsoc2013-evolution-9739fb5219a67aab4e7e7f2b84ec3795ef042f09.tar.bz2 gsoc2013-evolution-9739fb5219a67aab4e7e7f2b84ec3795ef042f09.tar.lz gsoc2013-evolution-9739fb5219a67aab4e7e7f2b84ec3795ef042f09.tar.xz gsoc2013-evolution-9739fb5219a67aab4e7e7f2b84ec3795ef042f09.tar.zst gsoc2013-evolution-9739fb5219a67aab4e7e7f2b84ec3795ef042f09.zip |
New menu item under Actions to allow editing of messages.
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
* folder-browser-factory.c (control_activate): New menu item under
Actions to allow editing of messages.
* mail-ops.c (edit_message): New function for editing messages.
svn path=/trunk/; revision=4563
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r-- | mail/folder-browser-factory.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index bf13ce6319..2b034522b0 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -65,14 +65,20 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih, message_list_toggle_threads, FOLDER_BROWSER (folder_browser)->message_list, NULL); - + bonobo_ui_handler_menu_new_item (uih, "/Actions/Mark all seen", _("_Mark all messages seen"), NULL, -1, BONOBO_UI_HANDLER_PIXMAP_STOCK, GNOME_STOCK_PIXMAP_CLEAR, 0, 0, mark_all_seen, folder_browser); - + + bonobo_ui_handler_menu_new_item (uih, "/Actions/Edit Message", _("E_dit Message"), + NULL, -1, + BONOBO_UI_HANDLER_PIXMAP_STOCK, + GNOME_STOCK_PIXMAP_MAIL_NEW, + 0, 0, edit_message, folder_browser); + bonobo_ui_handler_menu_new_item (uih, "/Actions/Expunge", _("_Expunge"), NULL, -1, BONOBO_UI_HANDLER_PIXMAP_STOCK, @@ -136,6 +142,7 @@ control_deactivate (BonoboControl *control, BonoboUIHandler *uih, bonobo_ui_handler_menu_remove (uih, "/View/Threaded"); bonobo_ui_handler_menu_remove (uih, "/Actions/Mark all seen"); + bonobo_ui_handler_menu_remove (uih, "/Actions/Edit Message"); bonobo_ui_handler_menu_remove (uih, "/Actions/Expunge"); bonobo_ui_handler_menu_remove (uih, "/Tools/Mail Filters ..."); bonobo_ui_handler_menu_remove (uih, "/Tools/vFolder Editor ..."); |