aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extension.js2
-rw-r--r--metadata.json4
2 files changed, 3 insertions, 3 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);
}
diff --git a/metadata.json b/metadata.json
index e72d2a9..aeb1c47 100644
--- a/metadata.json
+++ b/metadata.json
@@ -3,6 +3,6 @@
"uuid": "LockRotation@sigxcpu.org",
"name": "Lock Rotation Switch",
"description": "Allow to lock rotation from the user menu",
- "shell-version": [ "3.6.1" ],
- "url": "git://git.gnome.org/git/gnome-shell-lock-rotation-extension.git"
+ "shell-version": [ "3.6.1", "3.6.2" ],
+ "url": "git://honk.sigxcpu.org/git/gnome-shell-lock-rotation.git"
}