diff options
author | Kevin Walzer <kw@codebykevin.com> | 2021-05-21 01:38:51 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2021-05-21 01:38:51 (GMT) |
commit | 5f966b7f24725eb6e42da2434c68b1634827109d (patch) | |
tree | 2a766c5ded106c87dd8e92163c23ec80d66fd729 /library | |
parent | bb14ba3ef7fe81e4c081f2423eac415d226a44b4 (diff) | |
download | tk-5f966b7f24725eb6e42da2434c68b1634827109d.zip tk-5f966b7f24725eb6e42da2434c68b1634827109d.tar.gz tk-5f966b7f24725eb6e42da2434c68b1634827109d.tar.bz2 |
Fix for a0bc2524; thanks to Emiliano Gavilan for the patch
Diffstat (limited to 'library')
-rw-r--r-- | library/systray.tcl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/library/systray.tcl b/library/systray.tcl index 01108cf..931d6a8 100644 --- a/library/systray.tcl +++ b/library/systray.tcl @@ -323,7 +323,6 @@ proc ::tk::sysnotify::sysnotify {title message} { #Add these commands to the tk command ensemble: tk systray, tk sysnotify #Thanks to Christian Gollwitzer for the guidance here -set map [namespace ensemble configure tk -map] -dict set map systray ::tk::systray -dict set map sysnotify ::tk::sysnotify::sysnotify -namespace ensemble configure tk -map $map +namespace ensemble configure tk -map \ + [dict merge [namespace ensemble configure tk -map] \ + {systray ::tk::systray sysnotify ::tk::sysnotify::sysnotify}] |