[gnome-shell/wip/rstrode/rhel-7.9: 10/86] authPrompt: don't spin unless answering question




commit 2d79b2bca41381c83ff5188609003f99c93e2fd7
Author: Ray Strode <rstrode redhat com>
Date:   Wed Sep 30 14:36:33 2015 -0400

    authPrompt: don't spin unless answering question

 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 0ad3d2338e..f18ef41f20 100644
--- a/js/gdm/authPrompt.js
+++ b/js/gdm/authPrompt.js
@@ -66,8 +66,8 @@ var AuthPrompt = new Lang.Class({
 
         this.connect('next', () => {
                 this.updateSensitivity(false);
-                this.startSpinning();
                 if (this._queryingService) {
+                    this.startSpinning();
                     this._userVerifier.answerQuery(this._queryingService, this._entry.text);
                 } else {
                     this._preemptiveAnswer = this._entry.text;


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