summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tltcl/tltcl.tcl
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2021-04-25 09:10:39 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2021-04-25 09:10:39 +0000
commitb5e83c238e4a464dee0a9207c74c4213e7bbebae (patch)
treef7bef3d8b180d08d722f7dab7124361fcde6cb02 /Master/tlpkg/tltcl/tltcl.tcl
parentb135e4b3baa48513f2af6ec069eb06165934d25d (diff)
http -> https
git-svn-id: svn://tug.org/texlive/trunk@58984 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tltcl/tltcl.tcl')
-rw-r--r--Master/tlpkg/tltcl/tltcl.tcl8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/tlpkg/tltcl/tltcl.tcl b/Master/tlpkg/tltcl/tltcl.tcl
index af9edbceef8..a02bdd25eb1 100644
--- a/Master/tlpkg/tltcl/tltcl.tcl
+++ b/Master/tlpkg/tltcl/tltcl.tcl
@@ -27,7 +27,7 @@ set ::perlpid 0
# mirrors
-set any_mirror "http://mirror.ctan.org/systems/texlive/tlnet"
+set any_mirror "https://mirror.ctan.org/systems/texlive/tlnet"
# turn name into a string suitable for a widget name
proc mangle_name {n} {
@@ -413,7 +413,7 @@ font create titlefont
proc redo_fonts {} {
# note that ttk styles refer to the above symbolic font names
- # and generally do not define fonts themselves
+ # and do not define fonts themselves
foreach f $::dflfonts {
font configure $f -size [expr { round($::oldsize($f)*$::tkfontscale)}]
@@ -452,6 +452,8 @@ proc redo_fonts {} {
-size [expr {round(1.5 * [font actual titlefont -size])}]
if $::plain_unix {
+ ttk::setTheme default ; # or classic.
+ # the settings below do not work right with clam and alt themes.
ttk::style configure TCombobox -arrowsize [expr {1.5*$::cw}]
ttk::style configure Item -indicatorsize [expr {1.5*$::cw}]
}
@@ -803,7 +805,7 @@ proc dirbrowser2widget {w} {
# a unicode symbol and a unicode wide space to the text label.
# The combobox down arrow and the treeview triangles (directory browser)
-# are still unscaled.
+# are scaled by normal style options at the end of redo_fonts.
if $::plain_unix {