geoclue2/0001-data-Add-gnome-shell-to-the-whitelist.patch
Florian Müllner 5509b9302c Add gnome-shell's weather integration to the whitelist
We don't want to show the indicator permanently, so mark the shell
as system component. In 3.24.1, it will respect the location
authorization for gnome-weather ...
2017-03-24 22:09:58 +00:00

36 lines
947 B
Diff

From a4cef6c0ad08f1c2dc0b002c77bf41669f4ede98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Fri, 17 Mar 2017 21:09:09 +0100
Subject: [PATCH] data: Add gnome-shell to the whitelist
gnome-shell now uses Geoclue to show weather information in the calendar
drop-down. While it can easily bypass the authorization dialog (being
the agent itself), the location indicator loses its usefulness when
permanently visible, so add it to the other system components in the
whitelist.
https://bugs.freedesktop.org/show_bug.cgi?id=100263
---
data/geoclue.conf.in | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/data/geoclue.conf.in b/data/geoclue.conf.in
index 7ee15c0..bf77038 100644
--- a/data/geoclue.conf.in
+++ b/data/geoclue.conf.in
@@ -73,6 +73,11 @@ allowed=true
system=true
users=
+[org.gnome.Shell]
+allowed=true
+system=true
+users=
+
[epiphany]
allowed=true
system=false
--
2.12.0