[gnome-shell/wip/rstrode/login-screen-extensions: 9/134] authPrompt: don't spin unless answering question




commit 517e241102c538e77630bc0fdeb62d27c5ee02c6
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 d421a88566..62c5bd078a 100644
--- a/js/gdm/authPrompt.js
+++ b/js/gdm/authPrompt.js
@@ -60,8 +60,8 @@ var AuthPrompt = 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]