summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b8ce6f0)
raw | patch | inline | side by side (parent: b8ce6f0)
author | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 7 Nov 2006 05:53:39 +0000 (00:53 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 7 Nov 2006 08:05:18 +0000 (03:05 -0500) |
Apparently accelerators really only work correctly for function keys
(F1-F12) and "Cmd-q". Apparently wish on Mac OS X reports itself
as unix and the OS is Darwin, this makes it a little difficult to
be sure we are running under Aqua.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
(F1-F12) and "Cmd-q". Apparently wish on Mac OS X reports itself
as unix and the OS is Darwin, this makes it a little difficult to
be sure we are running under Aqua.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui | patch | blob | history |
index 87dcbaef4ca16e5f917ecf199f804fdecede57d5..0bbb0064f031c627cce44fab0ce4af2c85c63aae 100755 (executable)
--- a/git-gui
+++ b/git-gui
set difffont {Courier 10}
set maincursor [. cget -cursor]
-switch -- $tcl_platform(platform) {
-windows {set M1B Control; set M1T Ctrl}
-default {set M1B M1; set M1T M1}
+switch -glob -- "$tcl_platform(platform),$tcl_platform(os)" {
+windows,* {set M1B Control; set M1T Ctrl}
+unix,Darwin {set M1B M1; set M1T Cmd}
+default {set M1B M1; set M1T M1}
}
# -- Menu Bar