aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-session.c
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/mail-session.c
parente92b39ae2c5fdfeb20de3701cf4375651b09dcc8 (diff)
downloadgsoc2013-evolution-c85822a98c432a7bbb2d485d6a4c4d3233289ef8.tar.gz
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/mail-session.c')
-rw-r--r--mail/mail-session.c1
1 files changed, 1 insertions, 0 deletions
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);