simon-svn: putty: jacob

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sun Jun 15 13:39:10 BST 2008


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     jacob
Revision:       8074
Date:           2008-06-15 13:39:09 +0100 (Sun, 15 Jun 2008)

Log message (17 lines):
Exorcise beeps from the Colours pane in Gtk.

The colour list box beeped at the user whenever it found that
something other than exactly one colour was selected. This seems to
happen implicitly in Gtk when the pane is changed. In Gtk1, this gave
you a beep whenever you left the Colours dialog after having selected
a colour from the list; in Gtk2, you additionally got a beep _every_
time you subsequently re-entered the Colours dialog (for reasons I
haven't investigated). Windows was unaffected.

Also, in Gtk (unlike Windows), it's possible for the user to go back
to the state where no items in the list box are selected at all.

For these reasons, stop beeping at the user, and instead blank the RGB
edit boxes as a hint that edits to them would be futile. (Really we
should be disabling them entirely, but the cross-platform edit
controls aren't up to that yet.)

Modified files:
U   putty/config.c

Links:
http://svn.tartarus.org/?rev=8074&view=rev
http://svn.tartarus.org/putty/config.c?rev=8074&r1=8073&r2=8074



More information about the tartarus-commits mailing list