[tracker/miner-fs-refactor: 73/119] libtracker-miner: Handle root config directories being deleted.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-fs-refactor: 73/119] libtracker-miner: Handle root config directories being deleted.
- Date: Mon, 28 Nov 2011 13:02:33 +0000 (UTC)
commit 1a728e5a9c3cab4b5dbd9272d645c5a8bf1c3e13
Author: Carlos Garnacho <carlos lanedo com>
Date: Tue Oct 4 12:43:11 2011 +0200
libtracker-miner: Handle root config directories being deleted.
src/libtracker-miner/tracker-file-notifier.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-file-notifier.c b/src/libtracker-miner/tracker-file-notifier.c
index e16c4cb..26a528e 100644
--- a/src/libtracker-miner/tracker-file-notifier.c
+++ b/src/libtracker-miner/tracker-file-notifier.c
@@ -573,6 +573,11 @@ crawl_directories_start (TrackerFileNotifier *notifier)
} else {
/* Emit both signals for consistency */
g_signal_emit (notifier, signals[DIRECTORY_STARTED], 0, directory);
+
+ if ((flags & TRACKER_DIRECTORY_FLAG_PRESERVE) == 0) {
+ g_signal_emit (notifier, signals[FILE_DELETED], 0, directory);
+ }
+
g_signal_emit (notifier, signals[DIRECTORY_FINISHED], 0,
directory, 0, 0, 0, 0);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]