[gnome-weather] desktop: Specify reason for accessing location



commit 4d1ec657652e69c9476d469b6a388c8431c78de2
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Feb 15 17:49:48 2016 +0000

    desktop: Specify reason for accessing location
    
    We're trying to implement per-app location privacy in 3.20 and according
    to the new design, we need apps to tell user why they need access to
    location:
    
    https://dl.dropboxusercontent.com/u/5031519/location-access-dialog.png
    
    Instead of breaking geoclue API, I decided to invent this custom desktop
    file entry.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762102

 data/org.gnome.Weather.Application.desktop.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/data/org.gnome.Weather.Application.desktop.in b/data/org.gnome.Weather.Application.desktop.in
index cc3b5af..a0cf3b5 100644
--- a/data/org.gnome.Weather.Application.desktop.in
+++ b/data/org.gnome.Weather.Application.desktop.in
@@ -8,3 +8,4 @@ DBusActivatable=true
 StartupNotify=true
 Categories=GNOME;GTK;Utility;Core;
 _Keywords=Weather;Forecast;
+_X-Geoclue-Reason=Allows weather information to be displayed for your location.


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