Skip to content

Commit

Permalink
Merge branch 'pt/gitk'
Browse files Browse the repository at this point in the history
* pt/gitk:
  gitk: fix setting font display with new tabbed dialog layout.
  gitk: fix tabbed preferences construction when using tcl 8.4
  • Loading branch information
gitster committed Apr 2, 2012
2 parents d82829b + 39ddf99 commit ca2b71a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gitk-git/gitk
Expand Up @@ -10795,7 +10795,7 @@ proc fontok {} {
if {$fontparam(slant) eq "italic"} {
lappend fontpref($f) "italic"
}
set w $prefstop.$f
set w $prefstop.notebook.fonts.$f
$w conf -text $fontparam(family) -font $fontpref($f)

fontcan
Expand Down Expand Up @@ -11012,6 +11012,7 @@ proc doprefs {} {
lappend pages [prefspage_general $notebook] [mc "General"]
lappend pages [prefspage_colors $notebook] [mc "Colors"]
lappend pages [prefspage_fonts $notebook] [mc "Fonts"]
set col 0
foreach {page title} $pages {
if {$use_notebook} {
$notebook add $page -text $title
Expand Down

0 comments on commit ca2b71a

Please sign in to comment.