Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=8bdbe4818dd8dd2c5936483225bc48be28ac15c2
commit 8bdbe4818dd8dd2c5936483225bc48be28ac15c2 Author: James Buren <[email protected]> Date: Fri Sep 7 04:17:37 2012 -0500 make sure all newt forms explicitly state which widget has initial focus diff --git a/src/ui_newt.c b/src/ui_newt.c index c55457d..54e08a8 100644 --- a/src/ui_newt.c +++ b/src/ui_newt.c @@ -333,6 +333,8 @@ extern bool ui_window_root(struct account *data) newtFormAddComponents(form,textbox,label1,entry1,label2,entry2,next,(void *) 0); + newtFormSetCurrent(form,entry1); + while(true) { newtFormRun(form,&es); @@ -474,6 +476,8 @@ extern bool ui_window_user(struct account *data) newtFormAddComponents(form,textbox,label1,entry1,label2,entry2,label3,entry3,label4,entry4,next,(void *) 0); + newtFormSetCurrent(form,entry1); + while(true) { newtFormRun(form,&es); _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
