Always bind the return key to the default button
commit4372da3441561b3852c0bf466304f1e4f3c06b3f
authorShawn O. Pearce <spearce@spearce.org>
Wed, 4 Apr 2007 15:45:33 +0000 (4 11:45 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 4 Apr 2007 15:45:33 +0000 (4 11:45 -0400)
treebdacf76fbd25d8b0980fa6e8409a55a432846b2b
parent53a291a435a173a18969011753104f8ab41234c8
Always bind the return key to the default button

If a dialog/window has a default button registered not every
platform associates the return key with that button, but all
users do.  We have to register the binding of the return key
ourselves to make sure the user's expectations of pressing
return will activate the default button are met.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh