[gnome-shell] location: Replace description w/ privacy note



commit 64741e41df564640bc98caa583f2b28dc1dd3219
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Mar 3 18:57:02 2016 +0000

    location: Replace description w/ privacy note
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762480

 js/ui/status/location.js |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/status/location.js b/js/ui/status/location.js
index 00c1f42..1697636 100644
--- a/js/ui/status/location.js
+++ b/js/ui/status/location.js
@@ -417,12 +417,12 @@ const GeolocationDialog = new Lang.Class({
         this._title = new St.Label({ style_class: 'geolocation-dialog-title headline' });
         messageBox.add_actor(this._title);
 
-        this._desc = new St.Label();
-        messageBox.add_actor(this._desc);
-
         this._reason = new St.Label();
         messageBox.add_actor(this._reason);
 
+        this._privacyNote = new St.Label();
+        messageBox.add_actor(this._privacyNote);
+
         let button = this.addButton({ label: _("Deny Access"),
                                       action: Lang.bind(this, this._onDenyClicked),
                                       key: Clutter.KEY_Escape });
@@ -434,8 +434,7 @@ const GeolocationDialog = new Lang.Class({
         /* Translators: %s is an application name */
         this._title.text = _("Give %s access to your location?").format(name);
 
-        /* Translators: %s is an application name */
-        this._desc.text = _("%s is requesting access to your location.").format(name);
+        this._privacyNote.text = _("Location access can be changed at any time from the privacy settings.");
 
         if (reason)
             this._reason.text = reason;


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