summaryrefslogtreecommitdiffstats
path: root/library/tk.tcl
diff options
context:
space:
mode:
authorbagnonm <bagnonm>2002-04-26 16:35:05 (GMT)
committerbagnonm <bagnonm>2002-04-26 16:35:05 (GMT)
commit6011ab574a8c116b75f20216de45e4f7c6a3d397 (patch)
treeb1696afe3132975a77a7acc42a31da4232ce7630 /library/tk.tcl
parent5486105ceae279f2e9e5951c0b3fb7cfca30296b (diff)
downloadtk-6011ab574a8c116b75f20216de45e4f7c6a3d397.zip
tk-6011ab574a8c116b75f20216de45e4f7c6a3d397.tar.gz
tk-6011ab574a8c116b75f20216de45e4f7c6a3d397.tar.bz2
namespacing ::tk message catalogs, bug [546333]
Diffstat (limited to 'library/tk.tcl')
-rw-r--r--library/tk.tcl12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/tk.tcl b/library/tk.tcl
index 364d084..0eb7641 100644
--- a/library/tk.tcl
+++ b/library/tk.tcl
@@ -3,7 +3,7 @@
# Initialization script normally executed in the interpreter for each
# Tk-based application. Arranges class bindings for widgets.
#
-# RCS: @(#) $Id: tk.tcl,v 1.36 2002/04/16 11:41:53 bagnonm Exp $
+# RCS: @(#) $Id: tk.tcl,v 1.37 2002/04/26 16:39:07 bagnonm Exp $
#
# Copyright (c) 1992-1994 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -16,6 +16,11 @@
package require -exact Tk 8.4
package require -exact Tcl 8.4
+# Create a ::tk namespace
+
+namespace eval ::tk {
+}
+
if { ![interp issafe] } {
if {[catch {package require msgcat}]} {
# msgcat not found. A minimal msgcat is defined
@@ -65,11 +70,6 @@ set ::tk_strictMotif 0
catch {tk useinputmethods 1}
-# Create a ::tk namespace
-
-namespace eval ::tk {
-}
-
# ::tk::PlaceWindow --
# place a toplevel at a particular position
# Arguments: