summaryrefslogtreecommitdiff
path: root/git-gui
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2006-11-21 20:21:11 -0500
committerShawn O. Pearce <spearce@spearce.org>2006-11-21 22:34:27 -0500
commitb673bbc59cf6950808d12b0d4020ae606019a8cd (patch)
treeff1a1ddca7b09b15bb85a303628aff3145caf1c5 /git-gui
parent1d72cb6c1833ec0b5065e33cfc7b5a55ee6b3d8e (diff)
downloadgit-b673bbc59cf6950808d12b0d4020ae606019a8cd.tar.gz
git-gui: Refactor M1 binding selection.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'git-gui')
-rwxr-xr-xgit-gui5
1 files changed, 3 insertions, 2 deletions
diff --git a/git-gui b/git-gui
index 5253141875..13b40823ee 100755
--- 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 {} {