aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-22 18:12:49 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-22 18:12:49 +0800
commit7ab18c57cdb8a06022dc2f7601fab5ce398294cb (patch)
tree342233da09a6473c431ea06f3517a9a818c63411 /addressbook/gui
parenta30113eebca968c19094643505932a3558e08704 (diff)
downloadgsoc2013-evolution-7ab18c57cdb8a06022dc2f7601fab5ce398294cb.tar
gsoc2013-evolution-7ab18c57cdb8a06022dc2f7601fab5ce398294cb.tar.gz
gsoc2013-evolution-7ab18c57cdb8a06022dc2f7601fab5ce398294cb.tar.bz2
gsoc2013-evolution-7ab18c57cdb8a06022dc2f7601fab5ce398294cb.tar.lz
gsoc2013-evolution-7ab18c57cdb8a06022dc2f7601fab5ce398294cb.tar.xz
gsoc2013-evolution-7ab18c57cdb8a06022dc2f7601fab5ce398294cb.tar.zst
gsoc2013-evolution-7ab18c57cdb8a06022dc2f7601fab5ce398294cb.zip
Linked in the search dialog again. It looks like some changes in the shell
2000-08-22 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Linked in the search dialog again. It looks like some changes in the shell made this not work. svn path=/trunk/; revision=4916
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c
index 6a997cd2a4..9c0213edd8 100644
--- a/addressbook/gui/component/addressbook.c
+++ b/addressbook/gui/component/addressbook.c
@@ -86,7 +86,8 @@ control_deactivate (BonoboControl *control, BonoboUIHandler *uih)
#ifdef HAVE_LDAP
bonobo_ui_handler_menu_remove (uih, "/Actions/New Directory Server");
#endif
- bonobo_ui_handler_menu_remove (uih, "/Tools/Search");
+ bonobo_ui_handler_menu_remove (uih, "/<Component Placeholder>/Tools");
+ bonobo_ui_handler_menu_remove (uih, "/<Component Placeholder>/Tools/Search");
/* remove our toolbar */
bonobo_ui_handler_dock_remove (uih, "/Toolbar");
}
@@ -540,8 +541,14 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih,
(gpointer)view);
#endif
- bonobo_ui_handler_menu_new_item (uih, "/Tools/Search",
- N_("_Search for contacts"),
+ bonobo_ui_handler_menu_new_subtree (uih, "/<Component Placeholder>/Tools",
+ _("_Tools"),
+ NULL, -1,
+ BONOBO_UI_HANDLER_PIXMAP_NONE, NULL,
+ 0, 0);
+
+ bonobo_ui_handler_menu_new_item (uih, "/<Component Placeholder>/Tools/Search",
+ N_("_Search for contacts"),
NULL, -1,
BONOBO_UI_HANDLER_PIXMAP_STOCK, GNOME_STOCK_MENU_SEARCH,
0, 0, search_cb,