aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-08-09 13:28:16 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-08-09 13:28:16 +0800
commit5bdcadd4cf57f4f9ee405a33daf7a3f91e1f6bf1 (patch)
tree65a76ad437bb6d907073d84cb83e11df93d7efec /mail
parent5a6dd4803e8c7386f2d6f4f8bbef977e42b26761 (diff)
downloadgsoc2013-evolution-5bdcadd4cf57f4f9ee405a33daf7a3f91e1f6bf1.tar.gz
gsoc2013-evolution-5bdcadd4cf57f4f9ee405a33daf7a3f91e1f6bf1.tar.zst
gsoc2013-evolution-5bdcadd4cf57f4f9ee405a33daf7a3f91e1f6bf1.zip
Use the placeholder for the "Print message..." menu item.
svn path=/trunk/; revision=4633
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/folder-browser-factory.c12
2 files changed, 17 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 24a89b8b2f..967113f7bf 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-09 Ettore Perazzoli <ettore@helixcode.com>
+
+ * folder-browser-factory.c (control_activate): Create a "print
+ message" menu item.
+
2000-08-09 Jeffrey Stedfast <fejj@helixcode.com>
* message-list.c (message_list_init): Attached a double_click
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 Placeholder>/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/<Print Placeholder>/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/<Print Placeholder>/separator1");
+ bonobo_ui_handler_menu_remove (uih, "/File/<Print Placeholder>/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");
n>/+9 * - Fix build on sparc64miwi2008-01-042-0/+12 * - Update to 1.176tabthorpe2008-01-042-4/+4 * This is a Chinese Checkers game, it has 5 AI players, and can easily supportpav2008-01-037-0/+106 * - Fix up the permissions on a packagepav2008-01-033-1/+6 * - Flip OpenGL 'on' by defaultpav2008-01-021-3/+3 * - Lib updated Fox16.araujo2008-01-021-1/+1 * - Update to 3.9.7miwi2007-12-313-5/+7 * - Update to 0.6.4sat2007-12-282-6/+6 * - Update to 2.1.2sat2007-12-282-5/+4 * It only needs to depend on avahi-app.mezz2007-12-271-1/+1 * - Update to 005sat2007-12-253-5/+8 * - Update to 1.175tabthorpe2007-12-242-4/+4 * - Update to 0.7.2acm2007-12-223-14/+14 * - Fix ggz client registrationsat2007-12-222-0/+9 * - Fix build on FreeBSD 8.xpav2007-12-211-6/+15 * - Bump PORTREVISION (also needed by the previous commit).alepulver2007-12-211-26/+12 * - Remove IA32_BINARY_PORT (not intended to be used with Linux binaries).alepulver2007-12-211-1/+1 * - Update to 2.1.1sat2007-12-204-243/+978 * - Update to version 2.1.7.alepulver2007-12-206-20/+90 * - Use ECHO_CMD instead of ECHO to create wrapper script.alepulver2007-12-201-3/+12 * - Use ECHO_CMD instead of ECHO to create the wrapper script.alepulver2007-12-204-108/+102 * - Update to version 0.66.alepulver2007-12-206-134/+52 * - Fix Buildmiwi2007-12-201-1/+2 * - Update to 2.0.1miwi2007-12-193-8/+9 * - Update to 0.2.1miwi2007-12-194-38/+31 * - Update to 0.2.1miwi2007-12-195-230/+269 * - Update to 0.1.8miwi2007-12-195-79/+11 * - Remove DEPRECATED, keep BROKEN and note it needs FreeBSD 7 and newalepulver2007-12-181-3/+2 * Legends is a fast-paced first-person-perspective online multiplayer gamealepulver2007-12-185-0/+132 * Odamex is a free and open source port for the classic first-person-shooteralepulver2007-12-186-0/+86 * The EDGE project is a programming project to develop a DOOM style engine aimedalepulver2007-12-1811-0/+144 * - Update to 0.6.4pav2007-12-176-76/+49 * upgrade to 2.8.14ijliao2007-12-172-4/+4 * - Mark as BROKEN on 5.x (undefined reference to 'playsound'). Probably aalepulver2007-12-161-1/+7 * Add laughingman 0.20070610, is a real-time face hijacking programnork2007-12-157-0/+88 * - Update to 1.3pav2007-12-153-5/+307 * - Update to 7.3.2miwi2007-12-153-21/+31 * - Fix CONFIGURE_ENV (fixes build with OpenGL enabled)pav2007-12-151-1/+1 * Update to 1.2.8.philip2007-12-156-12/+64 * - Fix build with gcc 4.2miwi2007-12-154-8/+39 * - Update to 1.1.2miwi2007-12-152-10/+6 * - Update to 1.5.4.2miwi2007-12-153-8/+9 * - update to 1.5.1nemoliu2007-12-144-12/+22 * - Update to 4742 (SD2-164)sat2007-12-145-480/+75 * - Add "-f" option to wrapper to fix/recreate symlinks after an update.alepulver2007-12-133-9/+25 * Update to 2.43ehaupt2007-12-133-7/+7 * - Update to version 2007.11.21.alepulver2007-12-133-4/+225 * - Update to version 0.0.9.alepulver2007-12-132-4/+4 * - Update to version 0.9.18.alepulver2007-12-135-45/+247 * - Update to version 2.0.9.alepulver2007-12-133-13/+14 * - Update to version 2007.610.alepulver2007-12-1312-142/+615 * - Update to 20071120miwi2007-12-122-4/+4 * - Update to version 1.5.16.alepulver2007-12-124-216/+563 * - Update to version 1.5.8.alepulver2007-12-125-80/+277 * - Update to version 1.25.alepulver2007-12-123-56/+28 * - Update to version 1.25.alepulver2007-12-125-13/+26 * - Update to version 7431.alepulver2007-12-123-6/+16 * - Update to version 0.3.1.20071206.alepulver2007-12-124-14/+12 * - Update to version 20071120.alepulver2007-12-125-16/+16 * Update to 2.20.2.marcus2007-12-123-5/+57 * - Update to 0.3.6sat2007-12-123-4/+7 * - Update to 1.0.5sat2007-12-122-4/+4 * - Fix filenames in rc scriptjohans2007-12-121-3/+5 * - set USE_XORGdinoex2007-12-121-2/+2 * Update to 5.6.4edwin2007-12-122-6/+5 * Fix a missing of share/gnome/ -> share/ to fix the crash in the start up. Bumpmezz2007-12-012-10/+1 * - Fix build with gcc 4.2miwi2007-11-302-14/+81 * * Unbreak build with gcc42 (remove -Werror)miwi2007-11-282-20/+54 * - Fix build with gcc 4.2miwi2007-11-283-5/+32 * - Fixes the build with GCC 4.2miwi2007-11-285-12/+80 * - Mark BROKEN on amd64 with gcc42pav2007-11-243-1/+15 * - Fix build with gcc 4.2miwi2007-11-226-6/+125 * Pointyhat reports that this now builds on 7.x and 8.x.linimon2007-11-201-4/+0 * This now builds on pointyhat on 7.x and 8.x.linimon2007-11-201-5/+1 * This now appears to build both on 7.x and 8.x.linimon2007-11-201-7/+1 * Fix gcc 4.2 build.fjoe2007-11-154-6/+41 * - Update to 2.4.7 (which compiles on 7.0)pav2007-11-13