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



commit 58e5e724f54f1dffc20671b8131d8a4c7b354dcc
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]