Skip to content

Commit

Permalink
[PATCH] gitk: Update fontsize in patch / tree list
Browse files Browse the repository at this point in the history
When adjusting fontsize (using ctrl+/-), all panes except the lower right
were updated. This fixes that.

Signed-off-by: Mark Levedahl <mdl123@verizon.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Mark Levedahl authored and Paul Mackerras committed May 22, 2007
1 parent 60378c0 commit 59ddaf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gitk
Original file line number Diff line number Diff line change
Expand Up @@ -4695,13 +4695,14 @@ proc redisplay {} {
}

proc incrfont {inc} {
global mainfont textfont ctext canv phase
global mainfont textfont ctext canv phase cflist
global stopped entries
unmarkmatches
set mainfont [lreplace $mainfont 1 1 [expr {[lindex $mainfont 1] + $inc}]]
set textfont [lreplace $textfont 1 1 [expr {[lindex $textfont 1] + $inc}]]
setcoords
$ctext conf -font $textfont
$cflist conf -font $textfont
$ctext tag conf filesep -font [concat $textfont bold]
foreach e $entries {
$e conf -font $mainfont
Expand Down

0 comments on commit 59ddaf3

Please sign in to comment.