aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-03-11 03:50:05 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-03-11 03:50:05 +0800
commite948af7be842595b0028001c0e9f7db5d4ed3cb7 (patch)
tree7ffe0432b217302c1744a0881e87a586ecb2a6f0 /mail
parent1ba20a4418ce766403db11f000dfff1df564c034 (diff)
downloadgsoc2013-evolution-e948af7be842595b0028001c0e9f7db5d4ed3cb7.tar
gsoc2013-evolution-e948af7be842595b0028001c0e9f7db5d4ed3cb7.tar.gz
gsoc2013-evolution-e948af7be842595b0028001c0e9f7db5d4ed3cb7.tar.bz2
gsoc2013-evolution-e948af7be842595b0028001c0e9f7db5d4ed3cb7.tar.lz
gsoc2013-evolution-e948af7be842595b0028001c0e9f7db5d4ed3cb7.tar.xz
gsoc2013-evolution-e948af7be842595b0028001c0e9f7db5d4ed3cb7.tar.zst
gsoc2013-evolution-e948af7be842595b0028001c0e9f7db5d4ed3cb7.zip
Focus the entry widget. Fixes bug #55330.
2004-03-10 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (request_password): Focus the entry widget. Fixes bug #55330. svn path=/trunk/; revision=25012
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 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);