From e948af7be842595b0028001c0e9f7db5d4ed3cb7 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 10 Mar 2004 19:50:05 +0000 Subject: Focus the entry widget. Fixes bug #55330. 2004-03-10 Jeffrey Stedfast * mail-session.c (request_password): Focus the entry widget. Fixes bug #55330. svn path=/trunk/; revision=25012 --- mail/mail-session.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mail/mail-session.c') 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); -- cgit v1.2.3