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



commit 346f1e8e0f6143018dd7d4970fd2001fa8516ce7
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Feb 15 17:45:22 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=762101

 data/org.gnome.clocks.desktop.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/data/org.gnome.clocks.desktop.in b/data/org.gnome.clocks.desktop.in
index 19cfb0f..9260c87 100644
--- a/data/org.gnome.clocks.desktop.in
+++ b/data/org.gnome.clocks.desktop.in
@@ -12,3 +12,4 @@ Categories=GNOME;GTK;Utility;Clock;
 StartupNotify=true
 DBusActivatable=true
 X-GNOME-UsesNotifications=true
+_X-Geoclue-Reason=Allows world clocks to be displayed for your time zone.


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