krb5-auth-dialog r76 - in trunk: . src



Author: walters
Date: Mon Jun  9 19:49:21 2008
New Revision: 76
URL: http://svn.gnome.org/viewvc/krb5-auth-dialog?rev=76&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/src/krb5-auth-dialog.c

Modified: trunk/src/krb5-auth-dialog.c
==============================================================================
--- trunk/src/krb5-auth-dialog.c	(original)
+++ trunk/src/krb5-auth-dialog.c	Mon Jun  9 19:49:21 2008
@@ -271,6 +271,7 @@
 
 		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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]