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
This commit is contained in:
parent
e021ca2135
commit
8625d5b0cc
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user