[gnome-shell] system: Fix orientation lock never appearing
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] system: Fix orientation lock never appearing
- Date: Mon, 21 Jul 2014 14:06:10 +0000 (UTC)
commit 9c6180afa2c6d4b9b6ec75f5b88d8c2e85e4d465
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jul 21 14:34:21 2014 +0200
system: Fix orientation lock never appearing
Typos meant that the orientation service was never detected as running
and that the orientation lock menu item didn't appear.
https://bugzilla.gnome.org/show_bug.cgi?id=733498
js/ui/status/system.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/status/system.js b/js/ui/status/system.js
index 51b5118..a2ad289 100644
--- a/js/ui/status/system.js
+++ b/js/ui/status/system.js
@@ -151,11 +151,11 @@ const Indicator = new Lang.Class({
Gio.DBus.session.watch_name('org.gnome.SettingsDaemon.Orientation',
Gio.BusNameWatcherFlags.NONE,
Lang.bind(this, function() {
- this._orentationExists = true;
+ this._orientationExists = true;
this._updateOrientationLock();
}),
Lang.bind(this, function() {
- this._orentationExists = false;
+ this._orientationExists = false;
this._updateOrientationLock();
}));
this._updateOrientationLock();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]