From 3a7d6735fb7123eeb247d45739f2ea5f9fad4dd8 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 9 Aug 2000 05:47:27 +0000 Subject: Put the print menu item in the right placeholder for consistency. svn path=/trunk/; revision=4636 --- addressbook/ChangeLog | 7 +++++++ addressbook/gui/component/addressbook.c | 9 ++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index d66ff16cfc..9b890cc16a 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2000-08-09 Ettore Perazzoli + + * gui/component/addressbook.c (control_activate): Put the print + item in the right placeholder so that it gets the right position + in the "File" menu. + (control_deactivate): Updated accordingly. + 2000-08-09 Christopher James Lahey * gui/component/addressbook.c, gui/minicard/e-minicard.c: Changed diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index 3df553c1bd..b1064973ea 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -79,7 +79,8 @@ static void control_deactivate (BonoboControl *control, BonoboUIHandler *uih) { /* how to remove a menu item */ - bonobo_ui_handler_menu_remove (uih, "/File/Print"); + bonobo_ui_handler_menu_remove (uih, "/File//Print contacts..."); + bonobo_ui_handler_menu_remove (uih, "/File//separator1"); bonobo_ui_handler_menu_remove (uih, "/File/TestSelectNames"); bonobo_ui_handler_menu_remove (uih, "/View/"); bonobo_ui_handler_menu_remove (uih, "/View/Toggle View"); @@ -489,13 +490,15 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih, bonobo_ui_handler_menu_new_separator (uih, "/View/", -1); - bonobo_ui_handler_menu_new_item (uih, "/File/Print", - N_("Print"), + bonobo_ui_handler_menu_new_item (uih, "/File//Print contacts...", + N_("_Print Contacts..."), NULL, -1, BONOBO_UI_HANDLER_PIXMAP_NONE, NULL, 0, 0, print_cb, (gpointer) view); + bonobo_ui_handler_menu_new_separator (uih, "/File//separator1", -1); + bonobo_ui_handler_menu_new_item (uih, "/View/Toggle View", N_("As _Table"), NULL, -1, -- cgit