changeset 3333:b6da58fae8b7

[gaim-migrate @ 3351] Fixed "Add A Buddy" dialog focus problem. (Ref: bug i.d. [ 572375 ] [tab] funcionality is screwy in "Add...) committer: Tailor Script <tailor@pidgin.im>
author Jim Seymour <jseymour>
date Sat, 22 Jun 2002 12:25:53 +0000
parents f56d084d4046
children 3d0e7934db76
files src/dialogs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Sat Jun 22 11:57:57 2002 +0000
+++ b/src/dialogs.c	Sat Jun 22 12:25:53 2002 +0000
@@ -1073,7 +1073,7 @@
 
 	a->entry = gtk_entry_new();
 	gtk_table_attach_defaults(GTK_TABLE(table), a->entry, 1, 2, 0, 1);
-	gtk_window_set_focus(GTK_WINDOW(a->window), a->entry);
+	gtk_widget_grab_focus(a->entry);
 	if (buddy != NULL)
 		gtk_entry_set_text(GTK_ENTRY(a->entry), buddy);
 	gtk_signal_connect(GTK_OBJECT(a->entry), "activate", GTK_SIGNAL_FUNC(do_add_buddy), a);