summaryrefslogtreecommitdiff
path: root/src/nautilus-search-engine-model.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-model.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-model.c')
-rw-r--r--src/nautilus-search-engine-model.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-search-engine-model.c b/src/nautilus-search-engine-model.c
index f6330daaf..24c2ba4ae 100644
--- a/src/nautilus-search-engine-model.c
+++ b/src/nautilus-search-engine-model.c
@@ -193,13 +193,13 @@ model_directory_ready_cb (NautilusDirectory *directory,
g_ptr_array_unref (date_range);
}
- if (nautilus_query_get_search_favorite (model->query))
+ if (nautilus_query_get_search_starred (model->query))
{
tag_manager = nautilus_tag_manager_get ();
uri = nautilus_file_get_uri (file);
- if (!nautilus_tag_manager_file_is_favorite (tag_manager, uri))
+ if (!nautilus_tag_manager_file_is_starred (tag_manager, uri))
{
found = FALSE;
}