aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-05-06 02:08:49 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-05-06 02:08:49 +0800
commitc85822a98c432a7bbb2d485d6a4c4d3233289ef8 (patch)
tree24b83df92928758f579c09523c5227aeb8f23c79 /mail
parente92b39ae2c5fdfeb20de3701cf4375651b09dcc8 (diff)
downloadgsoc2013-evolution-c85822a98c432a7bbb2d485d6a4c4d3233289ef8.tar
gsoc2013-evolution-c85822a98c432a7bbb2d485d6a4c4d3233289ef8.tar.gz
gsoc2013-evolution-c85822a98c432a7bbb2d485d6a4c4d3233289ef8.tar.bz2
gsoc2013-evolution-c85822a98c432a7bbb2d485d6a4c4d3233289ef8.tar.lz
gsoc2013-evolution-c85822a98c432a7bbb2d485d6a4c4d3233289ef8.tar.xz
gsoc2013-evolution-c85822a98c432a7bbb2d485d6a4c4d3233289ef8.tar.zst
gsoc2013-evolution-c85822a98c432a7bbb2d485d6a4c4d3233289ef8.zip
(request_password): Set OK as the default
response for the password_dialog. svn path=/trunk/; revision=21104
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);