[gnome-shell] authPrompt: hide/stop spinner after verfiication completes



commit f2d4aa0822770397fbc6344d121b0f15fbf3bea6
Author: Rui Matos <tiagomatos gmail com>
Date:   Mon Aug 31 15:21:15 2015 -0400

    authPrompt: hide/stop spinner after verfiication completes
    
    When the user successfully types their password, we should hide
    the spinner from the button well right away, so it doesn't
    consume resources until reset (which may happen significantly later
    if the user is vt switched away)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=753891

 js/gdm/authPrompt.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js
index 465cb3d..88ed2a6 100644
--- a/js/gdm/authPrompt.js
+++ b/js/gdm/authPrompt.js
@@ -258,6 +258,7 @@ const AuthPrompt = new Lang.Class({
     },
 
     _onVerificationComplete: function() {
+        this.setActorInDefaultButtonWell(null);
         this.verificationStatus = AuthPromptStatus.VERIFICATION_SUCCEEDED;
        this.cancelButton.reactive = false;
     },


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