[gnome-maps] desktop: Specify reason for access to location data



commit 39d5945716c3c4ab3d26c45b5d37a482857dd9f8
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Feb 15 13:48:05 2016 +0000

    desktop: Specify reason for access to location data
    
    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=762081

 data/org.gnome.Maps.desktop.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/data/org.gnome.Maps.desktop.in b/data/org.gnome.Maps.desktop.in
index 2d1b5de..eabab2e 100644
--- a/data/org.gnome.Maps.desktop.in
+++ b/data/org.gnome.Maps.desktop.in
@@ -11,3 +11,4 @@ Categories=GNOME;GTK;Utility;
 _Keywords=Maps;
 DBusActivatable=true
 
MimeType=application/vnd.geo+json;x-scheme-handler/geo;application/vnd.google-earth.kml+xml;application/gpx+xml;
+_X-Geoclue-Reason=Allows your location to be shown on the map.


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