Index: menu.h
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/menu.h,v
retrieving revision 1.78
diff -u -u -p -r1.78 menu.h
--- menu.h	2002/02/25 11:50:34	1.78
+++ menu.h	2002/03/02 06:33:28
@@ -78,6 +78,9 @@ GtkWidget *     create_panel_context_men
 
 void		menu_properties		(Menu *menu);
 
+void		panel_search		(GtkWidget *widget,
+					 gpointer data);
+
 void		panel_lock		(GtkWidget *widget,
 					 gpointer data);
 
Index: menu.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/menu.c,v
retrieving revision 1.541
diff -u -u -p -r1.541 menu.c
--- menu.c	2002/02/28 17:50:47	1.541
+++ menu.c	2002/03/02 06:33:57
@@ -3809,6 +3809,15 @@ make_panel_submenu (GtkWidget *menu, gbo
 }
 
 void
+panel_search (GtkWidget *widget, gpointer data)
+{
+	char *argv[2] = {"gnome-search-tool", NULL};
+	if (gnome_execute_async (g_get_home_dir (), 1, argv) < 0)
+		panel_error_dialog ("cannot_exec_gnome-search-tool",
+				    _("Cannot execute gnome-search-tool"));
+}
+
+void
 panel_lock (GtkWidget *widget, gpointer data)
 {
 	char *argv[3] = {"xscreensaver-command", "-lock", NULL};
Index: foobar-widget.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/foobar-widget.c,v
retrieving revision 1.138
diff -u -u -p -r1.138 foobar-widget.c
--- foobar-widget.c	2002/02/28 17:50:47	1.138
+++ foobar-widget.c	2002/03/02 06:34:06
@@ -221,7 +221,20 @@ append_actions_menu (GtkWidget *menu_bar
 			  G_CALLBACK (show_run_dialog), 0);
 	setup_internal_applet_drag (item, "RUN:NEW");
 
-	/* FIXME: search */
+	if (panel_is_program_in_path  ("gnome-search-tool")) {
+		item = pixmap_menu_item_new (_("Search..."), 
+					     "gnome-searchtool.png",
+					     FALSE /* force_image */);
+		gtk_tooltips_set_tip (panel_tooltips, item,
+				      _("Find files, folders, and documents "
+					"on your computer"),
+				      NULL);
+		gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
+		g_signal_connect (G_OBJECT (item), "activate",
+				  G_CALLBACK (panel_search), 0);
+		setup_internal_applet_drag(item, "SEARCH:NEW");
+	}
+	
 	/* FIXME: shutdown or reboot */
 
 	if (panel_is_program_in_path  ("xscreensaver")) {
