[tracker/miner-directory-flags: 7/8] tracker-miner-fs: Set TRACKER_DIRECTORY_CHECK_MTIME if requested.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-directory-flags: 7/8] tracker-miner-fs: Set TRACKER_DIRECTORY_CHECK_MTIME if requested.
- Date: Tue, 26 Apr 2011 14:19:55 +0000 (UTC)
commit 5b3c356a632be7fb0e06e066dba4e308586a315c
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Apr 26 16:16:59 2011 +0200
tracker-miner-fs: Set TRACKER_DIRECTORY_CHECK_MTIME if requested.
src/miners/fs/tracker-miner-files.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index a48c27d..8a4795c 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -470,6 +470,10 @@ miner_files_initable_init (GInitable *initable,
flags |= TRACKER_DIRECTORY_MONITOR;
}
+ if (tracker_miner_fs_get_mtime_checking (TRACKER_MINER_FS (mf))) {
+ flags |= TRACKER_DIRECTORY_CHECK_MTIME;
+ }
+
miner_files_add_directories (mf, mounts, dirs, flags);
/* And now on to recursive ones */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]