[gnome-shell/wip/rstrode/login-screen-extensions: 7/134] gdm: update default service when smartcard inserted




commit 6a8b2270a4e10af1d23e115dc5da8bdbfdcf39ea
Author: Ray Strode <rstrode redhat com>
Date:   Mon Sep 28 19:57:36 2015 -0400

    gdm: update default service when smartcard inserted
    
    Early on at start up we may not know if a smartcard is
    available.  Make sure we reupdate the default service
    after we get a smartcard insertion event.

 js/gdm/util.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/js/gdm/util.js b/js/gdm/util.js
index 2b80e1dd95..6e940d2ab0 100644
--- a/js/gdm/util.js
+++ b/js/gdm/util.js
@@ -327,6 +327,8 @@ var ShellUserVerifier = class {
             else if (this._preemptingService == SMARTCARD_SERVICE_NAME)
                 this._preemptingService = null;
 
+            this._updateDefaultService();
+
             this.emit('smartcard-status-changed');
         }
     }


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