GtkSearchEngine: Avoid crawling indexed locations

Implement the IsIndexed callback for tracker. This requires
reading settings of the tracker file miner. We are careful
to avoid a hard dependency on the tracker schemas.
This commit is contained in:
Matthias Clasen
2015-06-19 00:12:46 -04:00
parent c7d86ef4e4
commit d12c7186b6
3 changed files with 115 additions and 18 deletions

View File

@ -53,6 +53,8 @@ GType _gtk_search_engine_tracker_get_type (void);
GtkSearchEngine* _gtk_search_engine_tracker_new (void);
gboolean _gtk_search_engine_tracker_is_indexed (GFile *file,
gpointer data);
G_END_DECLS
#endif /* __GTK_SEARCH_ENGINE_TRACKER_H__ */