keyring: Fix incorrect reference to the label instead of string
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2036>
This commit is contained in:
parent
01a23b0553
commit
75e57749f0
@ -76,7 +76,7 @@ class KeyringDialog extends ModalDialog.ModalDialog {
|
|||||||
warning.opacity = this.prompt.warning_visible ? 255 : 0;
|
warning.opacity = this.prompt.warning_visible ? 255 : 0;
|
||||||
});
|
});
|
||||||
this.prompt.connect('notify::warning', () => {
|
this.prompt.connect('notify::warning', () => {
|
||||||
if (this._passwordEntry && warning !== '')
|
if (this._passwordEntry && this.prompt.warning !== '')
|
||||||
Util.wiggle(this._passwordEntry);
|
Util.wiggle(this._passwordEntry);
|
||||||
});
|
});
|
||||||
warningBox.add_child(warning);
|
warningBox.add_child(warning);
|
||||||
|
Loading…
Reference in New Issue
Block a user