From fda762d74b19b0db8e19550a665d81ba19ffc0e2 Mon Sep 17 00:00:00 2001 From: Rebecca Schulman Date: Wed, 6 Dec 2000 00:59:41 +0000 Subject: reviewed by: Darin Adler 2000-12-05 Rebecca Schulman reviewed by: Darin Adler * src/file-manager/fm-search-list-view.c: (load_error_callback): Added an error callback for search uris that produce error GNOME_VFS_ERROR_TOO_BIG, which happens when a search matches every criterion in the database. * src/nautilus-search-bar-criterion.c: (get_owner_location_for): Fixed an "is not" in a search uri that should have been "is_not" so that searches did not produce an error. --- src/nautilus-search-bar-criterion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nautilus-search-bar-criterion.c') diff --git a/src/nautilus-search-bar-criterion.c b/src/nautilus-search-bar-criterion.c index f0b752808..88c0422ef 100644 --- a/src/nautilus-search-bar-criterion.c +++ b/src/nautilus-search-bar-criterion.c @@ -958,7 +958,7 @@ static char * get_owner_location_for (int relation_number, char *owner_text) { - const char *possible_relations[] = { "is", "is not" }; + const char *possible_relations[] = { "is", "is_not" }; g_assert (relation_number == 0 || relation_number == 1); return g_strdup_printf ("%s %s %s", NAUTILUS_SEARCH_URI_TEXT_OWNER, -- cgit v1.2.1