Fixed make check for my earlier changes fixed the emblem criteria uris so

2000-09-08  Rebecca Schulman  <rebecka@eazel.com>

	* libnautilus-extensions/nautilus-search-uri.c:
	(nautilus_self_check_search_uri):
	Fixed make check for my earlier changes
	* src/nautilus-search-bar-criterion.c: (get_emblem_location_for):
	fixed the emblem criteria uris so they now are recognized by
	medusa
This commit is contained in:
Rebecca Schulman 2000-09-09 02:05:46 +00:00 committed by Rebecca Schulman
parent a1be0ec820
commit 787ab45e8f
4 changed files with 16 additions and 7 deletions

View file

@ -1,3 +1,12 @@
2000-09-08 Rebecca Schulman <rebecka@eazel.com>
* libnautilus-extensions/nautilus-search-uri.c:
(nautilus_self_check_search_uri):
Fixed make check for my earlier changes
* src/nautilus-search-bar-criterion.c: (get_emblem_location_for):
fixed the emblem criteria uris so they now are recognized by
medusa
2000-09-08 Rebecca Schulman <rebecka@eazel.com>
Fixed bugzilla.eazel.com bugs 1937, 2014, and 2633,
to disallow repeat criteria in the search bar,

View file

@ -694,12 +694,12 @@ nautilus_self_check_search_uri (void)
/* make sure all the code paths work */
NAUTILUS_CHECK_STRING_RESULT (nautilus_search_uri_to_human ("search:[][]file_name contains stuff"),
_("Search results for items that have \"stuff\" in the name."));
_("Items that have \"stuff\" in the name."));
NAUTILUS_CHECK_STRING_RESULT (nautilus_search_uri_to_human ("search:[][]file_name contains stuff & file_type is file"),
_("Search results for items that have \"stuff\" in the name and are regular files."));
_("Items that have \"stuff\" in the name and are regular files."));
NAUTILUS_CHECK_STRING_RESULT (nautilus_search_uri_to_human ("search:[][]file_name contains stuff & file_type is file"
" & size smaller_than 2000"),
_("Search results for items that have \"stuff\" in the name, are regular files and that are "
_("Items that have \"stuff\" in the name, are regular files and that are "
"smaller than 2000 bytes."));
/* is_search_uri */

View file

@ -694,12 +694,12 @@ nautilus_self_check_search_uri (void)
/* make sure all the code paths work */
NAUTILUS_CHECK_STRING_RESULT (nautilus_search_uri_to_human ("search:[][]file_name contains stuff"),
_("Search results for items that have \"stuff\" in the name."));
_("Items that have \"stuff\" in the name."));
NAUTILUS_CHECK_STRING_RESULT (nautilus_search_uri_to_human ("search:[][]file_name contains stuff & file_type is file"),
_("Search results for items that have \"stuff\" in the name and are regular files."));
_("Items that have \"stuff\" in the name and are regular files."));
NAUTILUS_CHECK_STRING_RESULT (nautilus_search_uri_to_human ("search:[][]file_name contains stuff & file_type is file"
" & size smaller_than 2000"),
_("Search results for items that have \"stuff\" in the name, are regular files and that are "
_("Items that have \"stuff\" in the name, are regular files and that are "
"smaller than 2000 bytes."));
/* is_search_uri */

View file

@ -753,7 +753,7 @@ static char *
get_emblem_location_for (int relation_number,
GtkWidget *menu_item)
{
const char *possible_relations[] = {"include", "does_not_include" };
const char *possible_relations[] = {"include", "do_not_include" };
char *emblem_text;
g_assert (relation_number == 0 ||