[gnome-control-center] sharing: Ensure Tracker rygel plugin is disabled
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] sharing: Ensure Tracker rygel plugin is disabled
- Date: Sun, 10 Jan 2016 09:25:20 +0000 (UTC)
commit 0d4b2bc49b01a1316bd1bcaaed8716fe258e0365
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]