aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/addressbook.c9
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,