aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 a20bfa444e..d44e016cc0 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-10 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-session.c (request_password): Focus the entry widget. Fixes
+ bug #55330.
+
2004-03-10 Radek Doulik <rodo@ximian.com>
* em-junk-filter.c (pipe_to_sa_with_error): call
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 1eb4f76b90..99ec278ae6 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -280,6 +280,7 @@ request_password (struct _pass_msg *m)
g_signal_connect (m->entry, "activate", G_CALLBACK (pass_activate), password_dialog);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (password_dialog)->vbox), m->entry, TRUE, FALSE, 3);
gtk_widget_show (m->entry);
+ gtk_widget_grab_focus (m->entry);
if ((m->flags & CAMEL_SESSION_PASSWORD_REPROMPT) && m->result) {
gtk_entry_set_text ((GtkEntry *) m->entry, m->result);