summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-gui.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/git-gui.sh b/git-gui.sh
index d89f156fd5..940677cbd8 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -1995,9 +1995,13 @@ if {[is_enabled multicommit]} {
}
}
-.mbar.repository add command -label [mc Quit] \
- -command do_quit \
- -accelerator $M1T-Q
+if {[is_MacOSX]} {
+ proc ::tk::mac::Quit {args} { do_quit }
+} else {
+ .mbar.repository add command -label [mc Quit] \
+ -command do_quit \
+ -accelerator $M1T-Q
+}
# -- Edit Menu
#