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



commit 96b08a03e865e73ba31c44be12c33f847d9ca6a9
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 0bea3b4..8d702c7 100644
--- a/src/miners/fs/tracker-config.c
+++ b/src/miners/fs/tracker-config.c
@@ -885,7 +885,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]