From e64491139002b7d512a26dee6460275adb052de9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Fri, 12 Sep 2014 11:33:39 +0200
Subject: [PATCH] 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
spots a "Location Services" switch ...

https://bugzilla.gnome.org/show_bug.cgi?id=736542
---
 js/ui/status/location.js | 1 +
 1 file changed, 1 insertion(+)

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);
 
-- 
2.1.0