mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
c95432f3af
commit
17c9f88d87
1 changed files with 2 additions and 2 deletions
|
|
@ -148,11 +148,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…
Add table
Add a link
Reference in a new issue