author | Paul Mackerras <paulus@samba.org> | |
Sat, 27 Oct 2007 11:23:20 +0000 (21:23 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Sat, 27 Oct 2007 11:23:20 +0000 (21:23 +1000) |
1 | 2 | |||
---|---|---|---|---|
gitk | patch | | diff1 | | diff2 | | blob | history |
diff --cc gitk
index ff5eb5e8c48392a408b854c3da337749cd91bdce,5230e3bb9df53c6b7244ccd5c573021275d3c93c..4efcbb79574d91fdc8f03b1bf38db937fd2ec0c4
+++ b/gitk
proc prefsok {} {
global maxwidth maxgraphpct
global oldprefs prefstop showneartags showlocalchanges
- global charspc ctext tabstop limitdiffs treediffs
+ global fontpref mainfont textfont uifont
- global limitdiffs
++ global limitdiffs treediffs
catch {destroy $prefstop}
unset prefstop
dohidelocalchanges
}
}
- if {$maxwidth != $oldprefs(maxwidth)
+ if {$limitdiffs != $oldprefs(limitdiffs)} {
+ # treediffs elements are limited by path
+ catch {unset treediffs}
+ }
+ if {$fontchanged || $maxwidth != $oldprefs(maxwidth)
|| $maxgraphpct != $oldprefs(maxgraphpct)} {
redisplay
} elseif {$showneartags != $oldprefs(showneartags) ||