aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser-factory.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-08-08 10:08:44 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-08-08 10:08:44 +0800
commit573ea91f0c6dc6de73884bbf1a4b039975fcacda (patch)
treebdfab5a98b22e1253d7864cf70528360add0fb62 /mail/folder-browser-factory.c
parent5428d055d162ffa0dde2b0dc5a9b2e6907a6ca73 (diff)
downloadgsoc2013-evolution-573ea91f0c6dc6de73884bbf1a4b039975fcacda.tar
gsoc2013-evolution-573ea91f0c6dc6de73884bbf1a4b039975fcacda.tar.gz
gsoc2013-evolution-573ea91f0c6dc6de73884bbf1a4b039975fcacda.tar.bz2
gsoc2013-evolution-573ea91f0c6dc6de73884bbf1a4b039975fcacda.tar.lz
gsoc2013-evolution-573ea91f0c6dc6de73884bbf1a4b039975fcacda.tar.xz
gsoc2013-evolution-573ea91f0c6dc6de73884bbf1a4b039975fcacda.tar.zst
gsoc2013-evolution-573ea91f0c6dc6de73884bbf1a4b039975fcacda.zip
Added mail-view.c
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * Makefile.am: Added mail-view.c * folder-browser-factory.c (control_activate): Adda menu item for viewing the message * mail-view.c: New file containing methods for viewing messages in separate windows * mail-ops.c (view_message): New callback for viewing messages in a new window. svn path=/trunk/; revision=4588
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 2b034522b0..c391c5023d 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -79,6 +79,12 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih,
GNOME_STOCK_PIXMAP_MAIL_NEW,
0, 0, edit_message, folder_browser);
+ bonobo_ui_handler_menu_new_item (uih, "/Actions/View Message", _("_View Message"),
+ NULL, -1,
+ BONOBO_UI_HANDLER_PIXMAP_STOCK,
+ GNOME_STOCK_PIXMAP_MAIL_NEW,
+ 0, 0, view_message, folder_browser);
+
bonobo_ui_handler_menu_new_item (uih, "/Actions/Expunge", _("_Expunge"),
NULL, -1,
BONOBO_UI_HANDLER_PIXMAP_STOCK,
@@ -143,6 +149,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/View 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 ...");