git-gui: Exit shortcut in MacOSX repaired

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>
This commit is contained in:
Soeren Finster 2008-07-07 18:50:13 +02:00 committed by Shawn O. Pearce
parent 5821988f97
commit af894943cb

View File

@ -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
#