[gnome-control-center/gnome-3-18] sharing: Ensure Tracker rygel plugin is disabled



commit 699af2da7ec28bb60a78d71d98bbad84452c4fcd
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Jan 10 10:07:15 2016 +0100

    sharing: Ensure Tracker rygel plugin is disabled
    
    The Tracker plugin is enabled by default, and will replace the
    MediaExport plugin is enabled. This means that instead of sharing files
    listed in the paths set in the UI, we'd be sharing the user's files as
    configured in the Search panel. Not what we want to do if this contains
    private files.

 panels/sharing/cc-media-sharing.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/sharing/cc-media-sharing.c b/panels/sharing/cc-media-sharing.c
index 8cdf1c3..27b4a47 100644
--- a/panels/sharing/cc-media-sharing.c
+++ b/panels/sharing/cc-media-sharing.c
@@ -109,6 +109,7 @@ cc_media_sharing_set_preferences (gchar    **folders)
   file = cc_media_sharing_open_key_file ();
 
   g_key_file_set_boolean (file, "general", "upnp-enabled", TRUE);
+  g_key_file_set_boolean (file, "Tracker", "enabled", FALSE);
   g_key_file_set_boolean (file, "MediaExport", "enabled", TRUE);
 
   str_list = folders;


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