From 39ddf99c1db8b230ec7bdefc6ce3c769d1cf4ab6 Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Sun, 1 Apr 2012 23:00:52 +0100 Subject: [PATCH] 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 --- gitk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2