[gnome-shell] screenShield: fix lifting when inserting smartcard



commit 7d5ce1a159e41c8f7e9208e5d586f5d6303e8cb5
Author: Ray Strode <rstrode redhat com>
Date:   Thu Mar 13 13:36:42 2014 -0400

    screenShield: fix lifting when inserting smartcard
    
    If a user inserts the smartcard they logged in with into the system,
    it's supposed to lift the shield and prompt for pin.  That doesn't
    happen because the parameter list of the smartcard-inserted signal
    handler is wrong.
    
    This commit fixes that.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=726262

 js/ui/screenShield.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index b1e1e7f..f529e9a 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -537,7 +537,7 @@ const ScreenShield = new Lang.Class({
 
         this._smartcardManager = SmartcardManager.getSmartcardManager();
         this._smartcardManager.connect('smartcard-inserted',
-                                       Lang.bind(this, function(token) {
+                                       Lang.bind(this, function(manager, token) {
                                            if (this._isLocked && token.UsedToLogin)
                                                this._liftShield(true, 0);
                                        }));


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