diff options
author | das <das@noemail.net> | 2009-04-10 16:31:43 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2009-04-10 16:31:43 (GMT) |
commit | 301364275cb980a9e710c9e937f3fca9ab24fa3a (patch) | |
tree | 0ea819745c826c4d6961ef3841249f10c10254a0 /library/console.tcl | |
parent | 854897fc14cfa8e9339466d0d2a8fc2cdb7d706f (diff) | |
download | tk-301364275cb980a9e710c9e937f3fca9ab24fa3a.zip tk-301364275cb980a9e710c9e937f3fca9ab24fa3a.tar.gz tk-301364275cb980a9e710c9e937f3fca9ab24fa3a.tar.bz2 |
* library/console.tcl (::tk::ConsoleInit): remove redundant TkAqua
Quit menu item.
FossilOrigin-Name: 1233729ffc94b5984f623672a62b42e9d9019ab0
Diffstat (limited to 'library/console.tcl')
-rw-r--r-- | library/console.tcl | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/library/console.tcl b/library/console.tcl index 2f009f0..e17b898 100644 --- a/library/console.tcl +++ b/library/console.tcl @@ -4,7 +4,7 @@ # can be used by non-unix systems that do not have built-in support # for shells. # -# RCS: @(#) $Id: console.tcl,v 1.41 2009/02/21 10:22:58 patthoyts Exp $ +# RCS: @(#) $Id: console.tcl,v 1.42 2009/04/10 16:31:44 das Exp $ # # Copyright (c) 1995-1997 Sun Microsystems, Inc. # Copyright (c) 1998-2000 Ajuba Solutions. @@ -68,10 +68,7 @@ proc ::tk::ConsoleInit {} { -command {wm withdraw .} AmpMenuArgs .menubar.file add command -label [mc "&Clear Console"] \ -command {.console delete 1.0 "promptEnd linestart"} - if {[tk windowingsystem] eq "aqua"} { - AmpMenuArgs .menubar.file add command \ - -label [mc &Quit] -command {exit} -accel "Cmd-Q" - } else { + if {[tk windowingsystem] ne "aqua"} { AmpMenuArgs .menubar.file add command -label [mc E&xit] -command {exit} } |