diff options
author | Bastien Nocera <hadess@hadess.net> | 2016-01-10 10:07:15 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2016-01-10 10:18:37 +0100 |
commit | ca596a946865502c62b9a63ea0fbb0a6b3508967 (patch) | |
tree | 317f0e1d7a6b067b7423c6bdfd2080908d74268f | |
parent | af581902841862cac8c88769469e59f1c790a05b (diff) | |
download | gnome-control-center-ca596a946865502c62b9a63ea0fbb0a6b3508967.tar.gz |
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.
-rw-r--r-- | 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 8cdf1c3dd..27b4a4736 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; |