[gdm/multi-stack: 34/45] adapt password to task iface



commit 122d3d05610a17e076788ffa865c131422b02d92
Author: Ray Strode <rstrode redhat com>
Date:   Wed Oct 28 14:10:50 2009 -0400

    adapt password to task iface

 .../plugins/password/gdm-password-extension.c      |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gui/simple-greeter/plugins/password/gdm-password-extension.c b/gui/simple-greeter/plugins/password/gdm-password-extension.c
index 4922c65..255283e 100644
--- a/gui/simple-greeter/plugins/password/gdm-password-extension.c
+++ b/gui/simple-greeter/plugins/password/gdm-password-extension.c
@@ -194,6 +194,12 @@ gdm_password_extension_is_choosable (GdmTask *task)
         return FALSE;
 }
 
+gboolean
+gdm_password_extension_is_visible (GdmTask *task)
+{
+        return TRUE;
+}
+
 static void
 gdm_task_iface_init (GdmTaskIface *iface)
 {
@@ -201,6 +207,7 @@ gdm_task_iface_init (GdmTaskIface *iface)
         iface->get_description = gdm_password_extension_get_description;
         iface->get_name = gdm_password_extension_get_name;
         iface->is_choosable = gdm_password_extension_is_choosable;
+        iface->is_visible = gdm_password_extension_is_visible;
 }
 
 static void



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