diff options
author | Siep Kroonenberg <siepo@cybercomm.nl> | 2020-04-27 18:46:48 +0000 |
---|---|---|
committer | Siep Kroonenberg <siepo@cybercomm.nl> | 2020-04-27 18:46:48 +0000 |
commit | 3e9e014c35b9feb948e7f4bf082a9ec5d45c05a2 (patch) | |
tree | 7f696a68e9b6b4406143b9b8c90b3cacd0ecc913 /Master/tlpkg/installer/install-tl-gui.tcl | |
parent | 94216ed129278bf70ac83a4fb3c4e8f117fac5fa (diff) |
Tcl GUIs: show again actual scaling in menu. Removed spurious 'attributes -topmost' statements
git-svn-id: svn://tug.org/texlive/trunk@54910 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/installer/install-tl-gui.tcl')
-rwxr-xr-x | Master/tlpkg/installer/install-tl-gui.tcl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Master/tlpkg/installer/install-tl-gui.tcl b/Master/tlpkg/installer/install-tl-gui.tcl index 2a2f10896ff..0e94d6ab1c5 100755 --- a/Master/tlpkg/installer/install-tl-gui.tcl +++ b/Master/tlpkg/installer/install-tl-gui.tcl @@ -393,7 +393,6 @@ proc select_mirror {} { ppack [ttk::button .splfb.slmir_a -text [__ "Abort"] -command maybe_abort] \ -side right - wm attributes . -topmost update wm state . normal raise . @@ -421,7 +420,6 @@ If this takes too long, press Abort or choose another repository." \ $::prelocation]] -in .bg } - wm attributes . -topmost update wm state . normal raise . @@ -466,7 +464,6 @@ proc show_log {{do_abort 0}} { wm resizable . 1 1 wm overrideredirect . 0 - wm attributes . -topmost update wm state . normal raise . @@ -1399,6 +1396,8 @@ proc run_menu {} { menu .mn.gui.fscale .mn.gui add cascade -label [__ "Font scaling"] -menu .mn.gui.fscale + .mn.gui.fscale add command -label \ + "Current: [format {%.2f} $::tkfontscale]" foreach s {0.6 0.8 1 1.2 1.6 2 2.5 3 3.8 5 6 7.5 9} { .mn.gui.fscale add command -label $s -command "set_fontscale $s" } @@ -1789,7 +1788,6 @@ proc run_menu {} { if $::advanced {port_dis_or_activate 0} show_stats wm overrideredirect . 0 - wm attributes . -topmost wm resizable . 0 0 update wm state . normal @@ -2062,7 +2060,7 @@ proc main_prog {} { set ::perlpid [pid $::inst] # for windows < 10: make sure the main window is still on top - wm attributes . -topmost + raise . chan configure $::inst -buffering line -blocking 1 |