aboutsummaryrefslogtreecommitdiff
path: root/extension.js
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2013-03-16 20:53:14 +0100
committerGuido Günther <agx@sigxcpu.org>2013-03-16 20:53:14 +0100
commit92ffae2f4166a88095bece6dd22bc7db2b79c9dd (patch)
treec519c87fd80249942121cf43267dac2c095c4225 /extension.js
parent1cc689b0bd7daff552a9d5da31f6a4bfd413efc0 (diff)
Fix url
Diffstat (limited to 'extension.js')
-rw-r--r--extension.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension.js b/extension.js
index 6b3fc29..c2af23c 100644
--- a/extension.js
+++ b/extension.js
@@ -58,7 +58,7 @@ LockRotation.prototype = {
ORIENTATION_OBJECT_PATH);
proxy.IntrospectRemote(Lang.bind(this, function([result], err) {
- if (result.indexOf("Orientation") != -1) {
+ if (result.indexOf("Power") != -1) {
let userMenu = Main.panel.statusArea.userMenu.menu;
userMenu.addMenuItem(this._rotationLockSwitch, 4);
}