author | Pat Thoyts <patthoyts@users.sourceforge.net> | |
Mon, 8 Mar 2010 12:43:27 +0000 (12:43 +0000) | ||
committer | Pat Thoyts <patthoyts@users.sourceforge.net> | |
Fri, 30 Jul 2010 09:05:27 +0000 (10:05 +0100) | ||
commit | 85123549f005ebdfb55a5cbd738c3237aaed6eff | |
tree | da2495493d4444d58fdbf0188e4d2013ad08bdee | tree | snapshot |
parent | fc17e5e5bdb5b4a36c10c2948b8b8db8a12a4b35 | commit | diff |
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>
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>
lib/choose_repository.tcl | diff | blob | history |