Skip to content

Commit ca2b71a

Browse files
committed
Merge branch 'pt/gitk'
* pt/gitk: gitk: fix setting font display with new tabbed dialog layout. gitk: fix tabbed preferences construction when using tcl 8.4
2 parents d82829b + 39ddf99 commit ca2b71a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gitk-git/gitk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10795,7 +10795,7 @@ proc fontok {} {
1079510795
if {$fontparam(slant) eq "italic"} {
1079610796
lappend fontpref($f) "italic"
1079710797
}
10798-
set w $prefstop.$f
10798+
set w $prefstop.notebook.fonts.$f
1079910799
$w conf -text $fontparam(family) -font $fontpref($f)
1080010800

1080110801
fontcan
@@ -11012,6 +11012,7 @@ proc doprefs {} {
1101211012
lappend pages [prefspage_general $notebook] [mc "General"]
1101311013
lappend pages [prefspage_colors $notebook] [mc "Colors"]
1101411014
lappend pages [prefspage_fonts $notebook] [mc "Fonts"]
11015+
set col 0
1101511016
foreach {page title} $pages {
1101611017
if {$use_notebook} {
1101711018
$notebook add $page -text $title

0 commit comments

Comments
 (0)