[tracker/miner-fs-refactor: 76/93] libtracker-miner: Obey "ignored" directory flag in TrackerFileNotifier



commit d7161b914e36416021fbffced44852b500b57f0a
Author: Carlos Garnacho <carlos lanedo com>
Date:   Tue Oct 4 12:56:59 2011 +0200

    libtracker-miner: Obey "ignored" directory flag in TrackerFileNotifier

 src/libtracker-miner/tracker-file-notifier.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-file-notifier.c b/src/libtracker-miner/tracker-file-notifier.c
index 841bec9..f419d11 100644
--- a/src/libtracker-miner/tracker-file-notifier.c
+++ b/src/libtracker-miner/tracker-file-notifier.c
@@ -552,7 +552,8 @@ crawl_directories_start (TrackerFileNotifier *notifier)
 						directory,
 						&flags);
 
-		if (tracker_crawler_start (priv->crawler,
+		if ((flags & TRACKER_DIRECTORY_FLAG_IGNORE) == 0 &&
+		    tracker_crawler_start (priv->crawler,
 					   directory,
 					   (flags & TRACKER_DIRECTORY_FLAG_RECURSE) != 0)) {
 			gchar *uri;



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