[totem/wip/hadess/tracker-monitor: 2/2] Revert "grilo: Enable monitoring on tracker 2.x"




commit 34f481a9483b53c8a14f34d4159dca6df08f51d1
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Aug 23 21:51:59 2020 +0200

    Revert "grilo: Enable monitoring on tracker 2.x"
    
    This reverts commit f672175701ad4b8320a771854ad6364f51fe6570.
    
    2 problems:
    - we remove the whole conditional, which meant never setting the
      "monitor" variable
    - the tracker2 plugin doesn't resolve media before passing it to
      the content-changed functions, so it still isn't useful

 src/totem-grilo.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/totem-grilo.c b/src/totem-grilo.c
index 279a4683b..805d849e2 100644
--- a/src/totem-grilo.c
+++ b/src/totem-grilo.c
@@ -1330,6 +1330,9 @@ source_added_cb (GrlRegistry *registry,
                if (source_is_recent (source)) {
                        browse (self, self->priv->recent_model,
                                NULL, source, NULL, -1);
+                       /* https://gitlab.gnome.org/GNOME/grilo-plugins/merge_requests/29 */
+                       if (g_str_equal (id, "grl-tracker-source") == FALSE)
+                               monitor = TRUE;
                } else if (!source_is_browse_blocked (source)) {
                        const GdkPixbuf *icon;
 


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