[gdm/multi-stack: 24/35] squash with smartcard
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/multi-stack: 24/35] squash with smartcard
- Date: Thu, 17 Feb 2011 17:32:38 +0000 (UTC)
commit 82fbee221f78718703481ae9b28933d81c7a2011
Author: Ray Strode <rstrode redhat com>
Date: Wed Aug 4 18:26:01 2010 -0400
squash with smartcard
.../plugins/smartcard/gdm-smartcard-extension.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gui/simple-greeter/plugins/smartcard/gdm-smartcard-extension.c b/gui/simple-greeter/plugins/smartcard/gdm-smartcard-extension.c
index b925f5e..b40a21c 100644
--- a/gui/simple-greeter/plugins/smartcard/gdm-smartcard-extension.c
+++ b/gui/simple-greeter/plugins/smartcard/gdm-smartcard-extension.c
@@ -184,6 +184,7 @@ gdm_smartcard_extension_ask_question (GdmConversation *conversation,
gtk_entry_set_visibility (GTK_ENTRY (extension->priv->prompt_entry), TRUE);
gtk_widget_show (extension->priv->prompt_entry);
gtk_action_set_visible (extension->priv->login_action, TRUE);
+ gtk_action_set_sensitive (extension->priv->login_action, TRUE);
gtk_widget_grab_focus (extension->priv->prompt_entry);
extension->priv->answer_pending = TRUE;
}
@@ -200,6 +201,7 @@ gdm_smartcard_extension_ask_secret (GdmConversation *conversation,
gtk_widget_show (extension->priv->prompt_entry);
gtk_widget_grab_focus (extension->priv->prompt_entry);
gtk_action_set_visible (extension->priv->login_action, TRUE);
+ gtk_action_set_sensitive (extension->priv->login_action, TRUE);
extension->priv->answer_pending = TRUE;
}
@@ -475,6 +477,7 @@ static void
on_activate_log_in (GdmSmartcardExtension *extension)
{
gdm_smartcard_extension_request_answer (GDM_CONVERSATION (extension));
+ gtk_action_set_sensitive (extension->priv->login_action, FALSE);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]