Commit 820bc51e authored by Rebecca Schulman's avatar Rebecca Schulman Committed by Rebecca Schulman

Initial changes to implement search architecture.

2000-06-13  Rebecca Schulman  <rebecka@eazel.com>
	Initial changes to implement search architecture.

	* libnautilus-extensions/Makefile.am:

	* libnautilus-extensions/nautilus-directory-async.c:
	Changed metafile reading to skip this for search directories
	call a separate sync reader for search directories (the
	async handle creates a thread but doesn't talk to medusa
	yet)

	Added
	* libnautilus-extensions/nautilus-search-async.c:
	* libnautilus-extensions/nautilus-search-async.h:
	location of future async search calls

	* libnautilus-extensions/nautilus-directory-private.h:
	added is_search_directory boolean field to NautilusDirectoryDetails
	* libnautilus-extensions/nautilus-directory.c:
	* libnautilus-extensions/nautilus-directory.h:
	nautilus_search_directory_new supplemnts nautilus_directory_new
	and test functions nautilus_diretory_is_search_directory and
	nautilus_uri_is_search_uri

	* src/nautilus-window.c:
	* src/nautilus-window-toolbars.c:
	added search button (icon to come!)

	* src/nautilus.oafinfo:
	added search: to list of acceptable
	content for list view
parent 5a5c97ab
......@@ -84,6 +84,7 @@ libnautilus_extensions_la_SOURCES = \
nautilus-program-chooser.c \
nautilus-program-choosing.c \
nautilus-radio-button-group.c \
nautilus-search-async.c \
nautilus-self-checks.c \
nautilus-stock-dialogs.c \
nautilus-string-list.c \
......@@ -161,6 +162,7 @@ noinst_HEADERS = \
nautilus-program-chooser.h \
nautilus-program-choosing.h \
nautilus-radio-button-group.h \
nautilus-search-async.h \
nautilus-self-checks.h \
nautilus-stock-dialogs.h \
nautilus-string-list.h \
......
......@@ -84,6 +84,7 @@ libnautilus_extensions_la_SOURCES = \
nautilus-program-chooser.c \
nautilus-program-choosing.c \
nautilus-radio-button-group.c \
nautilus-search-async.c \
nautilus-self-checks.c \
nautilus-stock-dialogs.c \
nautilus-string-list.c \
......@@ -161,6 +162,7 @@ noinst_HEADERS = \
nautilus-program-chooser.h \
nautilus-program-choosing.h \
nautilus-radio-button-group.h \
nautilus-search-async.h \
nautilus-self-checks.h \
nautilus-stock-dialogs.h \
nautilus-string-list.h \
......
......@@ -914,6 +914,13 @@ nautilus_window_go_up (NautilusWindow *window)
g_free (parent_uri_string);
}
void
nautilus_window_start_search (NautilusWindow *window)
{
/* Just change the navigation info for now */
nautilus_window_goto_uri (window, "search:");
}
void
nautilus_window_go_home (NautilusWindow *window)
{
......
......@@ -914,6 +914,13 @@ nautilus_window_go_up (NautilusWindow *window)
g_free (parent_uri_string);
}
void
nautilus_window_start_search (NautilusWindow *window)
{
/* Just change the navigation info for now */
nautilus_window_goto_uri (window, "search:");
}
void
nautilus_window_go_home (NautilusWindow *window)
{
......
......@@ -914,6 +914,13 @@ nautilus_window_go_up (NautilusWindow *window)
g_free (parent_uri_string);
}
void
nautilus_window_start_search (NautilusWindow *window)
{
/* Just change the navigation info for now */
nautilus_window_goto_uri (window, "search:");
}
void
nautilus_window_go_home (NautilusWindow *window)
{
......
......@@ -914,6 +914,13 @@ nautilus_window_go_up (NautilusWindow *window)
g_free (parent_uri_string);
}
void
nautilus_window_start_search (NautilusWindow *window)
{
/* Just change the navigation info for now */
nautilus_window_goto_uri (window, "search:");
}
void
nautilus_window_go_home (NautilusWindow *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