simon-svn: putty-gtk2: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sat Mar 29 14:21:25 GMT 2008


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       7953
Date:           2008-03-29 14:21:25 +0000 (Sat, 29 Mar 2008)

Log message (10 lines):
Deal with the possibility of no valid font being selected at all
during an entire run of unifontsel (because unifontsel_set_name was
either not called at all, or called with a name that didn't
correspond to any known font). In this situation we grey out the OK
button until a valid font is selected, and we have
unifontsel_get_name return NULL rather than failing an assertion if
it should be called in that state. The current client code in
gtkdlg.c should never encounter a NULL return, since it only calls
it after the OK button is clicked, but I've stuck an assertion in
there too on general principles.

Modified files:
U   putty-gtk2/unix/gtkdlg.c
U   putty-gtk2/unix/gtkfont.c

Links:
http://svn.tartarus.org/?rev=7953&view=rev
http://svn.tartarus.org/putty-gtk2/unix/gtkdlg.c?rev=7953&r1=7952&r2=7953
http://svn.tartarus.org/putty-gtk2/unix/gtkfont.c?rev=7953&r1=7952&r2=7953



More information about the tartarus-commits mailing list