diff options
author | walters <walters@517b70f8-ed25-0410-8bf6-f5db08f7b76e> | 2008-06-09 19:49:21 +0000 |
---|---|---|
committer | walters <walters@517b70f8-ed25-0410-8bf6-f5db08f7b76e> | 2008-06-09 19:49:21 +0000 |
commit | 0773befd0ca49a9208f0c5f7c5c71d1688d12e14 (patch) | |
tree | ebed7cca678db6ea0fd79fd425809c40e46f5399 /src | |
parent | 8c6a686e55bb1df1d92abc0a0bde3299dda59d41 (diff) |
2008-06-09 Colin Walters <walters@verbum.org>
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
Diffstat (limited to 'src')
-rw-r--r-- | src/krb5-auth-dialog.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |