summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Pat Thoyts <patthoyts@users.sourceforge.net>2012-04-01 23:00:52 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-04-02 10:21:10 -0700
commit39ddf99c1db8b230ec7bdefc6ce3c769d1cf4ab6 (patch)
tree502f833f61f05b5b5b30a9c6273613ec7dd4626f
parentgitk: fix tabbed preferences construction when using tcl 8.4 (diff)
downloadtgif-39ddf99c1db8b230ec7bdefc6ce3c769d1cf4ab6.tar.xz
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 <patthoyts@users.sourceforge.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xgitk2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitk b/gitk
index 68cd1a1fc5..22270ce46b 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