[nautilus] Revert "Fixing the bug from the issue #1412"



commit 0dd9d516208b09da7953e1d4c97b2eb4585a64e1
Author: António Fernandes <antoniof gnome org>
Date:   Fri May 29 12:41:41 2020 +0100

    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.

 src/nautilus-search-engine-tracker.c | 4 ++--
 1 file 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]