From 5bdcadd4cf57f4f9ee405a33daf7a3f91e1f6bf1 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 9 Aug 2000 05:28:16 +0000 Subject: Use the placeholder for the "Print message..." menu item. svn path=/trunk/; revision=4633 --- mail/folder-browser-factory.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'mail/folder-browser-factory.c') diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index dc5fd25ca5..1273212185 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -67,6 +67,15 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih, FOLDER_BROWSER (folder_browser)->message_list, NULL); + bonobo_ui_handler_menu_new_item (uih, "/File//Print message...", + _("_Print message"), + NULL, -1, + BONOBO_UI_HANDLER_PIXMAP_STOCK, + GNOME_STOCK_MENU_PRINT, + 0, 0, (void *) print_msg, folder_browser); + + bonobo_ui_handler_menu_new_separator (uih, "/File//separator1", -1); + bonobo_ui_handler_menu_new_item (uih, "/Actions/Mark all seen", _("_Mark all messages seen"), NULL, -1, @@ -154,6 +163,9 @@ control_deactivate (BonoboControl *control, BonoboUIHandler *uih, { char *toolbar_name = g_strdup_printf ("/Toolbar%d", fb->serial); + bonobo_ui_handler_menu_remove (uih, "/File//separator1"); + bonobo_ui_handler_menu_remove (uih, "/File//Print message..."); + 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"); -- cgit