diff options
Diffstat (limited to 'extension.js')
-rw-r--r-- | extension.js | 2 |
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); } |