diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-04-21 16:00:55 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-04-21 16:00:55 (GMT) |
commit | 95de0ead59fc76d4809f663e514c3c2e49903cc0 (patch) | |
tree | a05cab032f9a55801cfba92f44c621bec64c96ee /library | |
parent | 6eb7488db377ae21cf6105ee9506eeec08394635 (diff) | |
parent | cc1144423482d3d3469d9dc8e4ba68d73bf79653 (diff) | |
download | tk-95de0ead59fc76d4809f663e514c3c2e49903cc0.zip tk-95de0ead59fc76d4809f663e514c3c2e49903cc0.tar.gz tk-95de0ead59fc76d4809f663e514c3c2e49903cc0.tar.bz2 |
Fix [f63c37be3a]: functionality on a safe interpreter with Tk
Diffstat (limited to 'library')
-rw-r--r-- | library/tk.tcl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/tk.tcl b/library/tk.tcl index 7a70f21..0ef1d20 100644 --- a/library/tk.tcl +++ b/library/tk.tcl @@ -507,7 +507,9 @@ if {$::tk_library ne ""} { SourceLibFile scale SourceLibFile scrlbar SourceLibFile spinbox - SourceLibFile systray + if {![interp issafe]} { + SourceLibFile systray + } SourceLibFile text } } |