From: Pat Thoyts Date: Sun, 1 Apr 2012 22:00:52 +0000 (+0100) Subject: gitk: fix setting font display with new tabbed dialog layout. X-Git-Tag: v1.7.10-rc4~1^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=39ddf99c1db8b230ec7bdefc6ce3c769d1cf4ab6;p=git.git gitk: fix setting font display with new tabbed dialog layout. The changes to the dialog window tree broke the preview of the selected font on the button. This corrects that issue. Signed-off-by: Pat Thoyts Signed-off-by: Junio C Hamano --- diff --git a/gitk b/gitk index 68cd1a1fc..22270ce46 100755 --- a/gitk +++ b/gitk @@ -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