From 64741e41df564640bc98caa583f2b28dc1dd3219 Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Thu, 3 Mar 2016 18:57:02 +0000 Subject: [PATCH] location: Replace description w/ privacy note https://bugzilla.gnome.org/show_bug.cgi?id=762480 --- js/ui/status/location.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/js/ui/status/location.js b/js/ui/status/location.js index 00c1f42fa..16976362a 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;