[gdm/multi-stack] smartcard: don't show extension if disabled in authconfig



commit 3b1d0fd5a7713938736eb280b77cb3cd934fdbc6
Author: Gal Hammer <ghammer redhat com>
Date:   Thu Oct 21 10:14:32 2010 -0400

    smartcard: don't show extension if disabled in authconfig
    
    It was erroneously always returning TRUE instead of the the
    value determined from reading authconfig's configuration.

 .../plugins/smartcard/gdm-smartcard-extension.c    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gui/simple-greeter/plugins/smartcard/gdm-smartcard-extension.c b/gui/simple-greeter/plugins/smartcard/gdm-smartcard-extension.c
index 5e234b9..ef79c28 100644
--- a/gui/simple-greeter/plugins/smartcard/gdm-smartcard-extension.c
+++ b/gui/simple-greeter/plugins/smartcard/gdm-smartcard-extension.c
@@ -391,7 +391,7 @@ gdm_smartcard_extension_is_visible (GdmTask *task)
 
         g_strfreev (lines);
 
-        return TRUE;
+        return ret;
 }
 
 static void



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