Code

git-gui: Refactor M1 binding selection.
authorShawn O. Pearce <spearce@spearce.org>
Wed, 22 Nov 2006 01:21:11 +0000 (20:21 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 22 Nov 2006 03:34:27 +0000 (22:34 -0500)
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui

diff --git a/git-gui b/git-gui
index 52531418753040017c8687e7de38e1fd8afc4be5..13b40823ee6a9c3ecdb91e03017758a4bfa0418d 100755 (executable)
--- a/git-gui
+++ b/git-gui
@@ -2637,14 +2637,15 @@ catch {
 font create font_uibold
 font create font_diffbold
 
-set M1B M1
-set M1T M1
 if {[is_Windows]} {
        set M1B Control
        set M1T Ctrl
 } elseif {[is_MacOSX]} {
        set M1B M1
        set M1T Cmd
+} else {
+       set M1B M1
+       set M1T M1
 }
 
 proc apply_config {} {