[tracker/miner-fs-refactor] libtracker-miner: Check the ignored flag in tracker_indexing_tree_file_is_indexable()
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-fs-refactor] libtracker-miner: Check the ignored flag in tracker_indexing_tree_file_is_indexable()
- Date: Wed, 7 Dec 2011 16:29:34 +0000 (UTC)
commit 3cd93fe989a7cfc729701d387e5db48d3ab87338
Author: Carlos Garnacho <carlos lanedo com>
Date: Wed Dec 7 17:27:57 2011 +0100
libtracker-miner: Check the ignored flag in tracker_indexing_tree_file_is_indexable()
It should obviously be non-indexable if its config root has that flag set.
src/libtracker-miner/tracker-indexing-tree.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-indexing-tree.c b/src/libtracker-miner/tracker-indexing-tree.c
index d6b26ef..dae2d4e 100644
--- a/src/libtracker-miner/tracker-indexing-tree.c
+++ b/src/libtracker-miner/tracker-indexing-tree.c
@@ -650,6 +650,10 @@ tracker_indexing_tree_file_is_indexable (TrackerIndexingTree *tree,
return FALSE;
}
+ if (config_flags & TRACKER_DIRECTORY_FLAG_IGNORE) {
+ return FALSE;
+ }
+
if (g_file_equal (file, config_file)) {
return TRUE;
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]