summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5821988)
raw | patch | inline | side by side (parent: 5821988)
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>
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 |
diff --git a/git-gui.sh b/git-gui.sh
index d89f156fd54fe5e51e00793b908ce220e6aa91c8..940677cbd8558574fd9f9fb5812a0bbf46198588 100755 (executable)
--- a/git-gui.sh
+++ b/git-gui.sh
}
}
-.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
#