Commit 0805af3e authored by John Sullivan's avatar John Sullivan

Fixed bug 7696 ("Find" does nothing if location bar hidden)

	* src/nautilus-window-menus.c:
	(file_menu_toggle_find_mode_callback): Show location bar
	if it had been hidden. This is used by both Find/Browse menu
	item and Find button.
parent 89cdddf3
2001-03-14 John Sullivan <sullivan@eazel.com>
Fixed bug 7696 ("Find" does nothing if location bar hidden)
* src/nautilus-window-menus.c:
(file_menu_toggle_find_mode_callback): Show location bar
if it had been hidden. This is used by both Find/Browse menu
item and Find button.
2001-03-14 John Sullivan <sullivan@eazel.com>
Fixed bug 7597 (Cut Text's underline accelerator changes
......
......@@ -224,6 +224,10 @@ file_menu_toggle_find_mode_callback (BonoboUIComponent *component,
window = NAUTILUS_WINDOW (user_data);
if (!window->details->updating_bonobo_state) {
/* Show location bar if it's hidden */
if (!nautilus_window_location_bar_showing (window)) {
nautilus_window_show_location_bar (window);
}
nautilus_window_set_search_mode
(window, !nautilus_window_get_search_mode (window));
}
......
......@@ -224,6 +224,10 @@ file_menu_toggle_find_mode_callback (BonoboUIComponent *component,
window = NAUTILUS_WINDOW (user_data);
if (!window->details->updating_bonobo_state) {
/* Show location bar if it's hidden */
if (!nautilus_window_location_bar_showing (window)) {
nautilus_window_show_location_bar (window);
}
nautilus_window_set_search_mode
(window, !nautilus_window_get_search_mode (window));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment