[gdm/multi-stack: 20/35] Show cancel button after first message
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/multi-stack: 20/35] Show cancel button after first message
- Date: Tue, 17 Aug 2010 20:39:06 +0000 (UTC)
commit 5a174fe482109b28de9e37c6bb998f69c0aafd56
Author: Ray Strode <rstrode redhat com>
Date: Tue Jun 29 14:13:35 2010 -0400
Show cancel button after first message
Not all PAM modules ask for input at the keyboard. We need
to show the cancel button after the first message even if
that message isn't asking for input.
gui/simple-greeter/gdm-greeter-login-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-greeter-login-window.c b/gui/simple-greeter/gdm-greeter-login-window.c
index 21bf189..c4b58ab 100644
--- a/gui/simple-greeter/gdm-greeter-login-window.c
+++ b/gui/simple-greeter/gdm-greeter-login-window.c
@@ -790,6 +790,7 @@ reset_dialog (GdmGreeterLoginWindow *login_window,
switch_mode (login_window, dialog_mode);
}
+ gtk_widget_set_sensitive (login_window->priv->conversation_list, TRUE);
set_sensitive (login_window, TRUE);
set_ready (login_window);
set_focus (GDM_GREETER_LOGIN_WINDOW (login_window));
@@ -940,6 +941,7 @@ gdm_greeter_login_window_info (GdmGreeterLoginWindow *login_window,
g_return_val_if_fail (GDM_IS_GREETER_LOGIN_WINDOW (login_window), FALSE);
g_debug ("GdmGreeterLoginWindow: info: %s", text);
+ maybe_show_cancel_button (login_window);
task = find_task_with_service_name (login_window, service_name);
if (task != NULL) {
@@ -962,6 +964,7 @@ gdm_greeter_login_window_problem (GdmGreeterLoginWindow *login_window,
g_return_val_if_fail (GDM_IS_GREETER_LOGIN_WINDOW (login_window), FALSE);
g_debug ("GdmGreeterLoginWindow: problem: %s", text);
+ maybe_show_cancel_button (login_window);
task = find_task_with_service_name (login_window, service_name);
if (task != NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]