Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-gui: Exit shortcut in MacOSX repaired
author
Soeren Finster
<sf@9by6.de>
Mon, 7 Jul 2008 16:50:13 +0000
(18:50 +0200)
committer
Shawn O. Pearce
<spearce@spearce.org>
Tue, 8 Jul 2008 04:51:04 +0000
(
00:51
-0400)
Now, as in all OSX apps, there is only one quit menu entry.
It's automatically in the wish menu and calls ::tk::mac::Quit when used.
Signed-off-by: Soeren Finster <sf@9by6.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
5821988
)
diff --git
a/git-gui.sh
b/git-gui.sh
index d89f156fd54fe5e51e00793b908ce220e6aa91c8..940677cbd8558574fd9f9fb5812a0bbf46198588 100755
(executable)
--- 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
#