? nautilus-search_bar-disable.patch
Index: nautilus-navigation-window-menus.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-navigation-window-menus.c,v
retrieving revision 1.284
diff -u -r1.284 nautilus-navigation-window-menus.c
--- nautilus-navigation-window-menus.c	18 Mar 2006 07:13:50 -0000	1.284
+++ nautilus-navigation-window-menus.c	27 Apr 2006 21:43:28 -0000
@@ -418,8 +418,13 @@
 	NautilusNavigationWindow *window;
 
 	window = NAUTILUS_NAVIGATION_WINDOW (user_data);
-
-	nautilus_navigation_window_show_search (window);
+	
+	if (!nautilus_navigation_window_search_bar_showing (window)){
+		nautilus_navigation_window_show_search (window);
+	}
+	else{
+		nautilus_navigation_window_hide_search (window);
+	}
 }
 
 static const GtkActionEntry navigation_entries[] = {
@@ -551,4 +556,3 @@
 
         nautilus_navigation_window_initialize_go_menu (window);
 }
-
Index: nautilus-navigation-window.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-navigation-window.c,v
retrieving revision 1.445
diff -u -r1.445 nautilus-navigation-window.c
--- nautilus-navigation-window.c	18 Mar 2006 07:13:50 -0000	1.445
+++ nautilus-navigation-window.c	27 Apr 2006 21:43:29 -0000
@@ -994,6 +994,12 @@
 }
 
 void 
+nautilus_navigation_window_hide_search (NautilusNavigationWindow *window)
+{
+	hide_temporary_bars (window);
+}
+
+void 
 nautilus_navigation_window_show_search (NautilusNavigationWindow *window)
 {
 	if (!nautilus_navigation_window_search_bar_showing (window)) {
@@ -1002,7 +1008,7 @@
 		window->details->temporary_search_bar = TRUE;
 		nautilus_search_bar_clear (NAUTILUS_SEARCH_BAR (window->search_bar));
 	}
-	
+
 	nautilus_search_bar_grab_focus (NAUTILUS_SEARCH_BAR (window->search_bar));
 }
 
Index: nautilus-navigation-window.h
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-navigation-window.h,v
retrieving revision 1.114
diff -u -r1.114 nautilus-navigation-window.h
--- nautilus-navigation-window.h	12 Dec 2005 16:59:11 -0000	1.114
+++ nautilus-navigation-window.h	27 Apr 2006 21:43:29 -0000
@@ -117,6 +117,7 @@
 void     nautilus_navigation_window_back_or_forward      (NautilusNavigationWindow *window,
                                                           gboolean                  back,
                                                           guint                     distance);
+void     nautilus_navigation_window_hide_search          (NautilusNavigationWindow *window);														  
 void     nautilus_navigation_window_show_search          (NautilusNavigationWindow *window);
 
 #endif
