summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2020-05-29 12:41:41 +0100
committerAntónio Fernandes <antoniof@gnome.org>2020-05-29 12:41:41 +0100
commit0dd9d516208b09da7953e1d4c97b2eb4585a64e1 (patch)
treeb8a923f471f7e5a1ef55d85aacec8339eccb14ad
parent7f00ede9b410e88106cef34c634cb46e46015e37 (diff)
downloadnautilus-0dd9d516208b09da7953e1d4c97b2eb4585a64e1.tar.gz
Revert "Fixing the bug from the issue #1412"
This reverts commit 01392db750bf6d9b94665e5507b7785924a276c4. Unwanted changes from another branch that I've pushed together with the desired fixm from the previous commit.
-rw-r--r--src/nautilus-search-engine-tracker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-search-engine-tracker.c b/src/nautilus-search-engine-tracker.c
index 714afb111..6737d175f 100644
--- a/src/nautilus-search-engine-tracker.c
+++ b/src/nautilus-search-engine-tracker.c
@@ -288,9 +288,9 @@ search_finished_idle (gpointer user_data)
/* This is used to compensate rank if fts:rank is not set (resp. fts:match is
* not used). The value was determined experimentally. I am convinced that
- * fts:rank is currently always set to 5 in case of filename match.
+ * fts:rank is currently always set to 5.0 in case of filename match.
*/
-#define FILENAME_RANK 5
+#define FILENAME_RANK 5.0
static void
nautilus_search_engine_tracker_start (NautilusSearchProvider *provider)