summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-search-uri.c
diff options
context:
space:
mode:
authorRebecca Schulman <rebecka@eazel.com>2000-12-07 19:42:29 +0000
committerRebecca Schulman <rebecka@src.gnome.org>2000-12-07 19:42:29 +0000
commit28f5ecb6ed5e8774944df8c22d4051af98f66e53 (patch)
tree78d354a65ff8b36bdb3c0635becb750cce60d738 /libnautilus-private/nautilus-search-uri.c
parenteea286ad55c16e462bd8b37dcd000f85ebadab63 (diff)
downloadnautilus-28f5ecb6ed5e8774944df8c22d4051af98f66e53.tar.gz
Changes to fix bugs 2341, to match the sidebar to Arlo's design for search
2000-12-07 Rebecca Schulman <rebecka@eazel.com> Changes to fix bugs 2341, to match the sidebar to Arlo's design for search results, and 3488 that the human readable description of search results ends in a period. reviewed by: Maciej Stachowiak <mjs@eazel.com> * libnautilus-extensions/nautilus-search-uri.c: (get_nth_criterion_suffix): Remove "." from this function. Eventually, this function should be deprecated, but it will require some data structure changes, so I left a FIXME and an associated bug 5019. * src/file-manager/fm-search-list-view.c: (load_location_callback): Set the search results title to be "Search Results" instead of the human readable description * src/nautilus-sidebar-title.c: (file_is_search), (update_more_info): Special case search uri's for the "more_info" part of the sidebar to be in accordance with Arlo's design. This is an annoying way of doing things, but until a better framework is in place, John Sullivan and I agreed this was ok to do for now.
Diffstat (limited to 'libnautilus-private/nautilus-search-uri.c')
-rw-r--r--libnautilus-private/nautilus-search-uri.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libnautilus-private/nautilus-search-uri.c b/libnautilus-private/nautilus-search-uri.c
index cadda5d42..c93eb2763 100644
--- a/libnautilus-private/nautilus-search-uri.c
+++ b/libnautilus-private/nautilus-search-uri.c
@@ -550,15 +550,13 @@ get_nth_criterion_prefix (GSList *criterion)
* calculates the "." suffix for any criterion.
*
* return value: the translated suffix.
+ * FIXME bugzilla.eazel.com 5019: This function should be removed.
*/
static char *
get_nth_criterion_suffix (GSList *criterion)
{
/* if we are the last criterion, put it here. */
- if (criterion->next == NULL) {
- return g_strdup (".");
- }
return g_strdup ("");
}