summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorculler <culler>2020-07-25 14:49:08 (GMT)
committerculler <culler>2020-07-25 14:49:08 (GMT)
commitad4ba7d19aaf93762d9c0c3605c14a5aca7849a6 (patch)
treecc6534a65b12e474ca2631884ca462eeaa42810d
parentbeab8c9eff53ec32029801235a010c0711cad657 (diff)
parentbcbf366541cf894a8abaaea4c684ff551c54981c (diff)
downloadtk-ad4ba7d19aaf93762d9c0c3605c14a5aca7849a6.zip
tk-ad4ba7d19aaf93762d9c0c3605c14a5aca7849a6.tar.gz
tk-ad4ba7d19aaf93762d9c0c3605c14a5aca7849a6.tar.bz2
Fix namespace error in console.tcl - Thanks to Adam Kapos for the patch.
-rw-r--r--library/console.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/console.tcl b/library/console.tcl
index eb8990a..b98689f 100644
--- a/library/console.tcl
+++ b/library/console.tcl
@@ -740,9 +740,9 @@ proc ::tk::console::FontchooserToggle {} {
}
proc ::tk::console::FontchooserVisibility {index} {
if {[tk fontchooser configure -visible]} {
- .menubar.edit entryconfigure $index -label [msgcat::mc "Hide Fonts"]
+ .menubar.edit entryconfigure $index -label [::tk::msgcat::mc "Hide Fonts"]
} else {
- .menubar.edit entryconfigure $index -label [msgcat::mc "Show Fonts"]
+ .menubar.edit entryconfigure $index -label [::tk::msgcat::mc "Show Fonts"]
}
}
proc ::tk::console::FontchooserFocus {w isFocusIn} {