summaryrefslogtreecommitdiffstats
path: root/library/console.tcl
diff options
context:
space:
mode:
authordas <das@noemail.net>2009-06-29 14:35:01 (GMT)
committerdas <das@noemail.net>2009-06-29 14:35:01 (GMT)
commita6401db9ac290e17faaf7897ec75bf07ef5b743f (patch)
tree81b5743d2ff5d45f2ee4992153e4f34949ea8f8a /library/console.tcl
parent26cb1dfcf18ed78319ed485346885111ef5c34ed (diff)
downloadtk-a6401db9ac290e17faaf7897ec75bf07ef5b743f.zip
tk-a6401db9ac290e17faaf7897ec75bf07ef5b743f.tar.gz
tk-a6401db9ac290e17faaf7897ec75bf07ef5b743f.tar.bz2
Merge of TkAqua Cocoa portmacosx-cocoa-merge
FossilOrigin-Name: 05bd0a2cb86bb730d85069b3282e569b6c23d911
Diffstat (limited to 'library/console.tcl')
-rw-r--r--library/console.tcl7
1 files changed, 6 insertions, 1 deletions
diff --git a/library/console.tcl b/library/console.tcl
index e17b898..6eae24b 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.42 2009/04/10 16:31:44 das Exp $
+# RCS: @(#) $Id: console.tcl,v 1.43 2009/06/29 14:35:01 das Exp $
#
# Copyright (c) 1995-1997 Sun Microsystems, Inc.
# Copyright (c) 1998-2000 Ajuba Solutions.
@@ -117,6 +117,11 @@ proc ::tk::ConsoleInit {} {
AmpMenuArgs .menubar.edit add command -label [mc "&Decrease Font Size"] \
-accel "$mod+-" -command {event generate .console <<Console_FontSizeDecr>>}
+ if {[tk windowingsystem] eq "aqua"} {
+ .menubar add cascade -label [mc Window] -menu [menu .menubar.window]
+ .menubar add cascade -label [mc Help] -menu [menu .menubar.help]
+ }
+
. configure -menu .menubar
# See if we can find a better font than the TkFixedFont