[totem] main: Don't monitor the filesystem plugin



commit ae585ed06a19c48604e6b6ac8b8fb89147b1286b
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Feb 19 10:18:18 2014 +0100

    main: Don't monitor the filesystem plugin

 src/totem-grilo.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/totem-grilo.c b/src/totem-grilo.c
index e7b7538..e7f5556 100644
--- a/src/totem-grilo.c
+++ b/src/totem-grilo.c
@@ -1263,7 +1263,8 @@ source_added_cb (GrlRegistry *registry,
                }
 
                if (monitor &&
-                   (ops & GRL_OP_NOTIFY_CHANGE)) {
+                   (ops & GRL_OP_NOTIFY_CHANGE) &&
+                   g_str_equal (id, "grl-filesystem") == FALSE) {
                        grl_source_notify_change_start (source, NULL);
                        g_signal_connect (G_OBJECT (source), "content-changed",
                                          G_CALLBACK (content_changed_cb), self);


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