git-gui: Allow double-click in checkout dialog to start checkout
commit827c71199da9b762e0758fe96302d0c8b7a04bb9
authorShawn O. Pearce <spearce@spearce.org>
Mon, 9 Jul 2007 01:34:28 +0000 (8 21:34 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 9 Jul 2007 02:34:53 +0000 (8 22:34 -0400)
tree0a0eacdd5bbbcd1541426456efa7c85ad4d34a72
parent84d3d7b84c600d90486205bf801580009dc523a8
git-gui: Allow double-click in checkout dialog to start checkout

If the user double clicks a branch in the checkout dialog then they
probably want to start the checkout process on that branch.  I found
myself doing this without realizing it, and of course it did nothing
as there was no action bound to the listbox's Double-Button-1 event
handler.  Since I did it without thinking, others will probably also
try, and expect the same behavior.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/branch_checkout.tcl
lib/choose_rev.tcl