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



commit 551f96959181ce22051671e057fc85aa21f33113
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]