[tracker/rss-enclosures] Bug NB#175712 - tracker is listing the files under Ignore directories.



commit 6cd86a06954f4f2211f91b5b2e95e687ce00de97
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jun 21 15:55:08 2010 +0200

    Bug NB#175712 - tracker is listing the files under Ignore directories.
    
    Make ignored-directories property also go through path expansion, since
    directories there could be $HOME prefixed. This is also bug #621568.

 src/miners/fs/tracker-config.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/miners/fs/tracker-config.c b/src/miners/fs/tracker-config.c
index b1bb267..a0ebdac 100644
--- a/src/miners/fs/tracker-config.c
+++ b/src/miners/fs/tracker-config.c
@@ -907,7 +907,8 @@ config_load (TrackerConfig *config,
 			is_directory_list = TRUE;
 
 			if (strcmp (conversions[i].property, "index-recursive-directories") != 0 &&
-			    strcmp (conversions[i].property, "index-single-directories") != 0) {
+			    strcmp (conversions[i].property, "index-single-directories") != 0 &&
+			    strcmp (conversions[i].property, "ignored-directories") != 0) {
                                 tracker_keyfile_object_load_string_list (G_OBJECT (file),
                                                                          conversions[i].property,
                                                                          file->key_file,



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