[gdm/multi-stack: 35/46] adapt password to task iface



commit 21a2bfe32bef0d14466a4a936892ce6199c93320
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]