git-gui: Avoid using the <<Copy>> binding as a menu accelerator on win32
commita4c7c0529e2427fed03059f40c55749238dc8d8f
authorPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 8 Mar 2010 12:43:27 +0000 (8 12:43 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 29 Jul 2010 11:17:11 +0000 (29 13:17 +0200)
tree0380df526133967d379c751fade07f431ec122c9
parent3c6aa0ddfc214499eb9c7b7e40f2b0c76057436a
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