aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-session.c1
2 files changed, 6 insertions, 0 deletions
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 <ettore@ximian.com>
+
+ * mail-session.c (request_password): Set OK as the default
+ response for the password_dialog.
+
2003-04-30 Jeffrey Stedfast <fejj@ximian.com>
* 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);