diff options
author | Alexandru Pandelea <alexandru.pandelea@gmail.com> | 2017-05-26 23:22:12 +0300 |
---|---|---|
committer | Alexandru Pandelea <alexandru.pandelea@gmail.com> | 2017-06-22 16:49:41 +0300 |
commit | 11cbe223a554549dc1b42d0c91a3d5b569bc3971 (patch) | |
tree | 6e4d3794d80611b4c0469da5f9455da2bb5b8948 /src/nautilus-global-preferences.h | |
parent | ba5ed9b169ec99d03cc355137bce16573b892478 (diff) | |
download | nautilus-11cbe223a554549dc1b42d0c91a3d5b569bc3971.tar.gz |
implement fts
The search text can now also match the contents of a file, besides
the file name.
This is done with the help of a Tracker query, using fts:match, which
matces both the contents of a file and the filename.
The user also has the option to choose whether to use or not the
Full Text Search. This can be done with a preference, which represents
the default option when opening a new tab/window or from the search
popover.
https://bugzilla.gnome.org/show_bug.cgi?id=775961
Diffstat (limited to 'src/nautilus-global-preferences.h')
-rw-r--r-- | src/nautilus-global-preferences.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nautilus-global-preferences.h b/src/nautilus-global-preferences.h index 7e52f6c77..f508f7d97 100644 --- a/src/nautilus-global-preferences.h +++ b/src/nautilus-global-preferences.h @@ -177,6 +177,9 @@ typedef enum #define NAUTILUS_PREFERENCES_SHOW_DELETE_PERMANENTLY "show-delete-permanently" #define NAUTILUS_PREFERENCES_SHOW_CREATE_LINK "show-create-link" +/* Full Text Search as default */ +#define NAUTILUS_PREFERENCES_FTS_DEFAULT "fts-default" + void nautilus_global_preferences_init (void); extern GSettings *nautilus_preferences; |