aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-08-09 13:47:27 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-08-09 13:47:27 +0800
commit3a7d6735fb7123eeb247d45739f2ea5f9fad4dd8 (patch)
tree19720bfa6197f1c2aa95f5c3bf3f871db638dcf4 /addressbook/gui/component
parent7a90b39325d9da5d8731c3773dce9cb522576628 (diff)
downloadgsoc2013-evolution-3a7d6735fb7123eeb247d45739f2ea5f9fad4dd8.tar
gsoc2013-evolution-3a7d6735fb7123eeb247d45739f2ea5f9fad4dd8.tar.gz
gsoc2013-evolution-3a7d6735fb7123eeb247d45739f2ea5f9fad4dd8.tar.bz2
gsoc2013-evolution-3a7d6735fb7123eeb247d45739f2ea5f9fad4dd8.tar.lz
gsoc2013-evolution-3a7d6735fb7123eeb247d45739f2ea5f9fad4dd8.tar.xz
gsoc2013-evolution-3a7d6735fb7123eeb247d45739f2ea5f9fad4dd8.tar.zst
gsoc2013-evolution-3a7d6735fb7123eeb247d45739f2ea5f9fad4dd8.zip
Put the print menu item in the right placeholder for consistency.
svn path=/trunk/; revision=4636
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r--addressbook/gui/component/addressbook.c9
1 files changed, 6 insertions, 3 deletions
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,