[gnome-shell] authPrompt: Fix cancel button visibility



commit 24c8f5bb709b072c603c551cb090c5606f8b8a8a
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Feb 18 22:23:26 2020 +0100

    authPrompt: Fix cancel button visibility
    
    Grrr, this slipped in in 5cad5c20e9f, and we don't have a compiler
    to catch those kinds of bugs :-(
    
    https://gitlab.gnome.org/GNOME/gnome-shell/issues/2228

 js/gdm/authPrompt.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js
index 8624d17f41..8cb1f305c9 100644
--- a/js/gdm/authPrompt.js
+++ b/js/gdm/authPrompt.js
@@ -81,7 +81,7 @@ var AuthPrompt = GObject.registerClass({
         });
         this.add_child(this._userWell);
 
-        this._hasCancelButton = this._mode === AuthPromptStatus.UNLOCK_OR_LOG_IN;
+        this._hasCancelButton = this._mode === AuthPromptMode.UNLOCK_OR_LOG_IN;
 
         this._initEntryRow();
 


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