From 0773befd0ca49a9208f0c5f7c5c71d1688d12e14 Mon Sep 17 00:00:00 2001 From: walters Date: Mon, 9 Jun 2008 19:49:21 +0000 Subject: 2008-06-09 Colin Walters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug 534620: password field focus * src/krb5-auth-dialog.c: Be sure we focus the password field every time. Patch from from Guido Günther. git-svn-id: http://svn.gnome.org/svn/krb5-auth-dialog/trunk@76 517b70f8-ed25-0410-8bf6-f5db08f7b76e --- src/krb5-auth-dialog.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/krb5-auth-dialog.c b/src/krb5-auth-dialog.c index 6aa09a5..7d4fcf3 100644 --- a/src/krb5-auth-dialog.c +++ b/src/krb5-auth-dialog.c @@ -271,6 +271,7 @@ auth_dialog_prompter (krb5_context ctx, entry = glade_xml_get_widget(xml, "krb5_entry"); krb5_auth_dialog_setup (dialog, (gchar *) prompts[i].prompt, prompts[i].hidden); + gtk_widget_grab_focus (entry); wrong_label = glade_xml_get_widget (xml, "krb5_wrong_label"); source_id = g_timeout_add (5000, (GSourceFunc)krb5_auth_dialog_wrong_label_update_expiry, -- cgit v1.2.3