From: Jim S. <jse...@us...> - 2002-06-22 12:25:56
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv8647/src Modified Files: dialogs.c Log Message: Fixed "Add A Buddy" dialog focus problem. (Ref: bug i.d. [ 572375 ] [tab] funcionality is screwy in "Add...) Index: dialogs.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/dialogs.c,v retrieving revision 1.324 retrieving revision 1.325 diff -u -d -r1.324 -r1.325 --- dialogs.c 18 Jun 2002 22:59:22 -0000 1.324 +++ dialogs.c 22 Jun 2002 12:25:53 -0000 1.325 @@ -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); |