From c85822a98c432a7bbb2d485d6a4c4d3233289ef8 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 5 May 2003 18:08:49 +0000 Subject: (request_password): Set OK as the default response for the password_dialog. svn path=/trunk/; revision=21104 --- mail/ChangeLog | 5 +++++ mail/mail-session.c | 1 + 2 files changed, 6 insertions(+) diff --git a/mail/ChangeLog b/mail/ChangeLog index e5da7a11db..864c7320e9 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2003-05-05 Ettore Perazzoli + + * mail-session.c (request_password): Set OK as the default + response for the password_dialog. + 2003-04-30 Jeffrey Stedfast * mail-callbacks.c (mark_as_unseen): To be consistant with the diff --git a/mail/mail-session.c b/mail/mail-session.c index 00ad99683e..61f4742479 100644 --- a/mail/mail-session.c +++ b/mail/mail-session.c @@ -262,6 +262,7 @@ request_password (struct _pass_msg *m) password_dialog = (GtkDialog *) gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_QUESTION, GTK_BUTTONS_OK_CANCEL, "%s", m->prompt); gtk_window_set_title (GTK_WINDOW (password_dialog), title); + gtk_dialog_set_default_response (password_dialog, GTK_RESPONSE_OK); g_free (title); gtk_container_set_border_width ((GtkContainer *) password_dialog, 6); -- cgit