[tracker] libtracker-miner: Pass parent flags when reindexing a previously ignored folder



commit 2ac7d511c913cdcb37aabb47f31e769334bcbef1
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri May 9 00:49:24 2014 +0200

    libtracker-miner: Pass parent flags when reindexing a previously ignored folder
    
    If a folder with the "ignored" flag is removed from the configuration, and its
    parent folder indexing is recursive, the folder contents must be indexed
    recursively obeying the parent folder configuration flags, so pass those when
    queueing the directory for crawling.

 src/libtracker-miner/tracker-file-notifier.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-file-notifier.c b/src/libtracker-miner/tracker-file-notifier.c
index 71f47df..1162ed9 100644
--- a/src/libtracker-miner/tracker-file-notifier.c
+++ b/src/libtracker-miner/tracker-file-notifier.c
@@ -1255,7 +1255,7 @@ indexing_tree_directory_removed (TrackerIndexingTree *indexing_tree,
                                                        &parent_flags);
 
                        if (parent_flags & TRACKER_DIRECTORY_FLAG_RECURSE) {
-                               notifier_queue_file (notifier, directory, flags);
+                               notifier_queue_file (notifier, directory, parent_flags);
                                crawl_directories_start (notifier);
                        } else if (tracker_indexing_tree_file_is_root (indexing_tree,
                                                                       parent)) {


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