[gnome-shell] location: Add link to corresponding Settings
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] location: Add link to corresponding Settings
- Date: Fri, 12 Sep 2014 17:00:05 +0000 (UTC)
commit c7e3b68dcdd2dc9bd226731efd5ca7bbc2a0ca8a
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Sep 12 11:33:39 2014 +0200
location: Add link to corresponding Settings
All other submenus link to the corresponding settings, so we should
do the same for location - the privacy panel in this case, which now
sports a "Location Services" switch ...
https://bugzilla.gnome.org/show_bug.cgi?id=736542
js/ui/status/location.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/status/location.js b/js/ui/status/location.js
index 9dc736e..26a2a22 100644
--- a/js/ui/status/location.js
+++ b/js/ui/status/location.js
@@ -70,6 +70,7 @@ const Indicator = new Lang.Class({
this._item.status.text = _("Enabled");
this._onOffAction = this._item.menu.addAction(_("Disable"), Lang.bind(this, this._onOnOffAction));
+ this._item.menu.addSettingsAction(_("Privacy Settings"), 'gnome-privacy-panel.desktop');
this.menu.addMenuItem(this._item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]