[gdm] Make escape cancel timed login (cherry picked from commit 3b712949d8cba81ac498833c7c7d9489f934a365)
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] Make escape cancel timed login (cherry picked from commit 3b712949d8cba81ac498833c7c7d9489f934a365)
- Date: Wed, 23 Jun 2010 21:51:18 +0000 (UTC)
commit 8e36dce00646143d0f78ee09624c848696fe96ea
Author: William Jon McCann <jmccann redhat com>
Date: Wed Jun 23 15:07:02 2010 -0400
Make escape cancel timed login
(cherry picked from commit 3b712949d8cba81ac498833c7c7d9489f934a365)
gui/simple-greeter/gdm-greeter-login-window.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-greeter-login-window.c b/gui/simple-greeter/gdm-greeter-login-window.c
index 6ef1c5b..2c757fc 100644
--- a/gui/simple-greeter/gdm-greeter-login-window.c
+++ b/gui/simple-greeter/gdm-greeter-login-window.c
@@ -1314,7 +1314,8 @@ gdm_greeter_login_window_key_press_event (GtkWidget *widget,
login_window = GDM_GREETER_LOGIN_WINDOW (widget);
if (event->keyval == GDK_Escape) {
- if (login_window->priv->dialog_mode == MODE_AUTHENTICATION) {
+ if (login_window->priv->dialog_mode == MODE_AUTHENTICATION
+ || login_window->priv->dialog_mode == MODE_TIMED_LOGIN) {
do_cancel (GDM_GREETER_LOGIN_WINDOW (widget));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]