From 8625d5b0cc0acb6291b66b97068fec41ccec6adf Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 21 Jul 2014 14:34:21 +0200 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/status/system.js b/js/ui/status/system.js index b36c9d18a..f13ad51bd 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();