diff options
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook.c | 9 |
2 files changed, 13 insertions, 3 deletions
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 <ettore@helixcode.com> + + * 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 <clahey@helixcode.com> * 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 Placeholder>/Print contacts..."); + bonobo_ui_handler_menu_remove (uih, "/File/<Print Placeholder>/separator1"); bonobo_ui_handler_menu_remove (uih, "/File/TestSelectNames"); bonobo_ui_handler_menu_remove (uih, "/View/<sep>"); 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/<sep>", -1); - bonobo_ui_handler_menu_new_item (uih, "/File/Print", - N_("Print"), + bonobo_ui_handler_menu_new_item (uih, "/File/<Print Placeholder>/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/<Print Placeholder>/separator1", -1); + bonobo_ui_handler_menu_new_item (uih, "/View/Toggle View", N_("As _Table"), NULL, -1, |