mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
js: Initialize some properties
Otherwise those can result in the (harmless) "reference to undefined property" warnings. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/970
This commit is contained in:
parent
75905ebd3c
commit
53ac00eabb
2 changed files with 2 additions and 0 deletions
|
|
@ -166,6 +166,7 @@ class CapsLockWarning extends St.Label {
|
|||
|
||||
let seat = Clutter.get_default_backend().get_default_seat();
|
||||
this._keymap = seat.get_keymap();
|
||||
this._stateChangedId = 0;
|
||||
|
||||
this.connect('notify::mapped', () => {
|
||||
if (this.is_mapped()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue