[tracker/tracker-0.12] tracker-miner-fs: Ignore userguide directory in files miner
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.12] tracker-miner-fs: Ignore userguide directory in files miner
- Date: Fri, 25 Nov 2011 15:48:17 +0000 (UTC)
commit 3ab9035c3a261806f9dc201a4b3bd981fdac5167
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 5301ade..4ceefb3 100644
--- a/src/miners/fs/tracker-config.c
+++ b/src/miners/fs/tracker-config.c
@@ -1186,6 +1186,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]