[tracker] tracker-miner-fs: Trigger full recheck on enable-monitors changes



commit 28edc29cb6e1200f26025c0c83df46b169b22c30
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue May 3 01:59:22 2016 +0200

    tracker-miner-fs: Trigger full recheck on enable-monitors changes
    
    The crawling will recursively add/remove the monitors as requested.

 src/miners/fs/tracker-miner-files.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index ce17832..173798b 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -523,6 +523,9 @@ miner_files_initable_init (GInitable     *initable,
        g_signal_connect (mf->private->config, "notify::ignored-files",
                          G_CALLBACK (trigger_recheck_cb),
                          mf);
+       g_signal_connect (mf->private->config, "notify::enable-monitors",
+                         G_CALLBACK (trigger_recheck_cb),
+                         mf);
        g_signal_connect (mf->private->config, "notify::index-removable-devices",
                          G_CALLBACK (index_volumes_changed_cb),
                          mf);


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