[grilo-plugins] filesystem: Fix top-level monitoring by adding add_monitor calls.
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] filesystem: Fix top-level monitoring by adding add_monitor calls.
- Date: Thu, 5 Jun 2014 12:03:52 +0000 (UTC)
commit f4dcf8c1b28d18e4e0d2acaf1edf7ed2fe4ec06d
Author: Jeremy Whiting <jpwhiting kde org>
Date: Fri May 30 21:06:15 2014 -0600
filesystem: Fix top-level monitoring by adding add_monitor calls.
https://bugzilla.gnome.org/show_bug.cgi?id=730841
src/filesystem/grl-filesystem.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/filesystem/grl-filesystem.c b/src/filesystem/grl-filesystem.c
index 0efcd52..4d6f6bc 100644
--- a/src/filesystem/grl-filesystem.c
+++ b/src/filesystem/grl-filesystem.c
@@ -770,6 +770,7 @@ recursive_operation_initialize (RecursiveOperation *operation, GrlFilesystemSour
GFile *directory = g_file_new_for_uri (uri->data);
g_queue_push_tail (operation->directories,
recursive_entry_new (0, directory));
+ add_monitor (source, directory);
g_object_unref (directory);
}
} else {
@@ -783,6 +784,7 @@ recursive_operation_initialize (RecursiveOperation *operation, GrlFilesystemSour
directory = g_file_new_for_path (home);
g_queue_push_tail (operation->directories,
recursive_entry_new (0, directory));
+ add_monitor (source, directory);
g_object_unref (directory);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]