summaryrefslogtreecommitdiff
path: root/src/nautilus-search-engine-simple.c
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2018-02-13 17:41:58 +0100
committerCarlos Soriano <csoriano@gnome.org>2018-02-13 20:11:55 +0100
commit27b039b37c1149fc8abbef6a683dd939e6f2bf1f (patch)
treefe7ee1652e0bbd04ffffb8ca9475ceb022192dff /src/nautilus-search-engine-simple.c
parent275512d574db3a5f5e1bdd7dbf2e64c1ebc83359 (diff)
downloadnautilus-27b039b37c1149fc8abbef6a683dd939e6f2bf1f.tar.gz
general: Rename from 'favorite' to 'starred'
It was a mix of both terms, given that tracker uses 'favorite' but we use 'starred' in the UI. Since the part that interact with tracker is minimal, is better to be consistent with the UI. This renames 'favorite' to 'starred' except the tracker queries.
Diffstat (limited to 'src/nautilus-search-engine-simple.c')
-rw-r--r--src/nautilus-search-engine-simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-search-engine-simple.c b/src/nautilus-search-engine-simple.c
index fee7d2633..0ae787689 100644
--- a/src/nautilus-search-engine-simple.c
+++ b/src/nautilus-search-engine-simple.c
@@ -301,13 +301,13 @@ visit_directory (GFile *dir,
g_ptr_array_unref (date_range);
}
- if (nautilus_query_get_search_favorite (data->query))
+ if (nautilus_query_get_search_starred (data->query))
{
tag_manager = nautilus_tag_manager_get ();
uri = g_file_get_uri (child);
- if (!nautilus_tag_manager_file_is_favorite (tag_manager, uri))
+ if (!nautilus_tag_manager_file_is_starred (tag_manager, uri))
{
found = FALSE;
}