git-gui: Avoid using the <<Copy>> binding as a menu accelerator on win32
commitc468c93eec068e4230bdd6b0d8bff49941c102e8
authorPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 8 Mar 2010 12:43:27 +0000 (8 12:43 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 7 Apr 2010 20:10:38 +0000 (7 22:10 +0200)
tree1a467aa1984d90361b673a0624557a65670f2db2
parent59a159417e07174bc4189849a8482e587624ba03
git-gui: Avoid using the <<Copy>> binding as a menu accelerator on win32

On Windows the Control-C binding is used to copy and is mapped to the Tk
virtual event <<Copy>>. In the initial git-gui dialog this is also bound
as an accelerator for the Clone menu item. The effect is that both bindings
run, copying the text but resetting the clone page or switching to the clone
page when the user tries to copy text from one of the entry fields.
This patch avoids this by using Control-L instead for Windows only.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
git-gui/lib/choose_repository.tcl