summaryrefslogtreecommitdiffstats
path: root/library/console.tcl
diff options
context:
space:
mode:
authorculler <culler>2020-07-25 14:48:23 (GMT)
committerculler <culler>2020-07-25 14:48:23 (GMT)
commitbcbf366541cf894a8abaaea4c684ff551c54981c (patch)
treed0d1e24b30a6d520a94f2289c3a8ce6ac9a5fa2b /library/console.tcl
parentb00f202e7437c114c8c278c65c2ebe18c7bc85f7 (diff)
downloadtk-bcbf366541cf894a8abaaea4c684ff551c54981c.zip
tk-bcbf366541cf894a8abaaea4c684ff551c54981c.tar.gz
tk-bcbf366541cf894a8abaaea4c684ff551c54981c.tar.bz2
Fix namespace error in console.tcl - Thanks to Adam Kapos for the patch.
Diffstat (limited to 'library/console.tcl')
-rw-r--r--library/console.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/console.tcl b/library/console.tcl
index 355a43b..6527607 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} {