[tracker/miner-userguide: 2/13] tracker-miner-fs: Ignore userguide directory in files miner



commit a027e90b540155d93a522c393e78b5ec06234d32
Author: JÃrg Billeter <j bitron ch>
Date:   Tue Nov 22 15:49:30 2011 +0100

    tracker-miner-fs: Ignore userguide directory in files miner
    
    Userguide miner is responsible for indexing this directory.

 src/miners/fs/tracker-config.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/miners/fs/tracker-config.c b/src/miners/fs/tracker-config.c
index b08739f..072466d 100644
--- a/src/miners/fs/tracker-config.c
+++ b/src/miners/fs/tracker-config.c
@@ -1512,6 +1512,12 @@ rebuild_filtered_lists (TrackerConfig *config)
 				g_message ("Path '%s' being removed from recursive directories "
 				           "list, as it also exists in single directories list",
 				           (gchar *) l->data);
+#ifdef HAVE_MAEMO
+			} else if (g_str_has_prefix (l->data, "/usr/share/userguide/contents")) {
+				g_message ("Path '%s' being removed from recursive directories "
+				           "list, as it is handled by the userguide miner",
+				           (gchar *) l->data);
+#endif /* HAVE_MAEMO */
 			} else {
 				new_list = g_slist_prepend (new_list, l->data);
 			}



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