summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 306fc12)
raw | patch | inline | side by side (parent: 306fc12)
author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 24 May 2007 06:33:13 +0000 (02:33 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 24 May 2007 06:33:13 +0000 (02:33 -0400) |
Alberto Bertogli reported on #git that git-gui was exiting with
alt-q, while gitk on the same system was exiting with ctrl-q.
That was not what I wanted. I really wanted M1B to be bound to
the Control key on most non-Mac OS X platforms, but according to
Sam Vilain M1 on most systems means alt. Since gitk always does
control, I'm doing the same thing for all non-Mac OS X systems.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
alt-q, while gitk on the same system was exiting with ctrl-q.
That was not what I wanted. I really wanted M1B to be bound to
the Control key on most non-Mac OS X platforms, but according to
Sam Vilain M1 on most systems means alt. Since gitk always does
control, I'm doing the same thing for all non-Mac OS X systems.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | patch | blob | history |
diff --git a/git-gui.sh b/git-gui.sh
index 40f54e4dab677f5dfd556a089d3d5de136f50e5d..cfc4c7f686390bdca1b0f499610357d8a6888fc8 100755 (executable)
--- a/git-gui.sh
+++ b/git-gui.sh
}
unset class
-if {[is_Windows]} {
- set M1B Control
- set M1T Ctrl
-} elseif {[is_MacOSX]} {
+if {[is_MacOSX]} {
set M1B M1
set M1T Cmd
} else {
- set M1B M1
- set M1T M1
+ set M1B Control
+ set M1T Ctrl
}
proc apply_config {} {