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



commit e787f3bd631cdfb8aa090716992432c3bbf46d73
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]