git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] gitk - Update fontsize in patch / tree list

From
Mark Levedahl <mdl123@verizon.net>
Date
Jun 26, 2007, 02:43 UTC
Message-ID
<11828258013248-git-send-email-mdl123@verizon.net>
In-Reply-To
<1182825801300-git-send-email-mdl123@verizon.net>

When adjusting fontsize (using ctrl+/-), all panes except the lower right were updated. This fixes that.

Signed-off-by: Mark Levedahl <mdl123@verizon.net>
---
 gitk |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/gitk b/gitk
index cd9456e..62eefd9 100755
--- a/gitk
+++ b/gitk
@@ -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
-- 
1.5.2.2.282.g9826
Previous: Mark LevedahlNext: Mark Levedahl
Message 4 of 11 in “Mark Levedahl's gitk patches”
  1. Johannes SixtJun 25, 2007
  2. Mark LevedahlJun 26, 2007
  3. gitk - Make selection highlight color configurableMark Levedahl, Jun 26, 2007
  4. gitk - Update fontsize in patch / tree listMark Levedahl, Jun 26, 2007
  5. gitk - Allow specifying tabstop as other than default 8 characters.Mark Levedahl, Jun 26, 2007
  6. Brian DowningJun 26, 2007
  7. Paul MackerrasJun 26, 2007
  8. Junio C HamanoJun 27, 2007
  9. Paul MackerrasJun 28, 2007
  10. gitk - bugfix - Update selection background colorbar in prefs dialogMark Levedahl, Jun 27, 2007
  11. gitk - Use a spinbox for setting tabstop settingsMark Levedahl, Jun 27, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.