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



commit 9715dcc8f5a4aa1f552a43fd0b49166339ec56a1
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]