[gnome-initial-setup] privacy: Use correct os-release key for policy URL
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] privacy: Use correct os-release key for policy URL
- Date: Tue, 19 May 2015 11:08:06 +0000 (UTC)
commit 15e6792a49f04603b7a45ad2f2a4e2e1cd87e227
Author: Bastien Nocera <hadess hadess net>
Date: Mon May 18 16:42:25 2015 +0200
privacy: Use correct os-release key for policy URL
It's PRIVACY_POLICY_URL not PRIVACY_POLICY.
https://bugzilla.gnome.org/show_bug.cgi?id=749545
.../pages/privacy/gis-privacy-page.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-initial-setup/pages/privacy/gis-privacy-page.c
b/gnome-initial-setup/pages/privacy/gis-privacy-page.c
index 86f74db..341b041 100644
--- a/gnome-initial-setup/pages/privacy/gis-privacy-page.c
+++ b/gnome-initial-setup/pages/privacy/gis-privacy-page.c
@@ -95,7 +95,7 @@ update_os_data (GisPrivacyPage *page)
if (g_file_get_contents ("/etc/os-release", &buffer, NULL, NULL))
{
name = get_item (buffer, "NAME");
- privacy_policy = get_item (buffer, "PRIVACY_POLICY");
+ privacy_policy = get_item (buffer, "PRIVACY_POLICY_URL");
g_free (buffer);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]