[gnome-shell/gnome-41] keyring: Fix incorrect reference to the label instead of string



commit 38177cf3855c3cc70a27dd9c48f4c84e20dcf8ce
Author: Evan Welsh <contact evanwelsh com>
Date:   Sat Oct 30 15:09:39 2021 -0700

    keyring: Fix incorrect reference to the label instead of string
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2036>
    (cherry picked from commit 75e57749f0c8dca4b5d81b7ca2b70ff84afdb562)

 js/ui/components/keyring.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/components/keyring.js b/js/ui/components/keyring.js
index 8623f2fdd4..cd7a81e957 100644
--- a/js/ui/components/keyring.js
+++ b/js/ui/components/keyring.js
@@ -76,7 +76,7 @@ class KeyringDialog extends ModalDialog.ModalDialog {
             warning.opacity = this.prompt.warning_visible ? 255 : 0;
         });
         this.prompt.connect('notify::warning', () => {
-            if (this._passwordEntry && warning !== '')
+            if (this._passwordEntry && this.prompt.warning !== '')
                 Util.wiggle(this._passwordEntry);
         });
         warningBox.add_child(warning);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]