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

Re: [PATCH] Provide configurable UI font for gitk

From
Junio C Hamano <junkio@cox.net>
Date
Apr 2, 2006, 10:57 UTC
Message-ID
<7vodzkkzxr.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<1143969814.2303.71.camel@neko.keithp.com>
Keith Packard <keithp@keithp.com> writes:
Show 6 quoted lines
> This makes the font used in the UI elements of gitk configurable in the
> same way the other fonts are. The default fonts used in the Xft build of
> tk8.5 are particularily horrific, making this change more important
> there.
>
> Signed-off-by: Keith Packard <keithp@neko.keithp.com>

Thanks for the patch. I haven't run it, but a quick eyeballing suggests what you did is sane. However,..

>  proc makewindow {rargs} {
> -    global canv canv2 canv3 linespc charspc ctext cflist textfont
> +    global canv canv2 canv3 linespc charspc ctext cflist textfont
> mainfont uifont
Your MUA seems to be line-wrapping the patch here and there...
Show 11 quoted lines
> @@ -345,16 +345,20 @@ proc makewindow {rargs} {
>  
>      menu .bar
>      .bar add cascade -label "File" -menu .bar.file
> +    .bar configure -font $uifont
>      menu .bar.file
>      .bar.file add command -label "Update" -command [list updatecommits
> $rargs]
>      .bar.file add command -label "Reread references" -command
> rereadrefs
>...
so the patch does not apply X-<.

Also, I prefer changes to gitk to be fed via Paul Mackerras tree. If you send changes to gitk to me, I will forward patches with my Acked-by: to him and wait for him to bounce the change back to me through his tree, so it is not a big deal for me, and the changes will _not_ be lost anyway, but I'd still appreciate gitk patches to be sent to Paul first if possible.

Previous: Keith PackardNext: Keith Packard
Message 2 of 3 in “Provide configurable UI font for gitk”
  1. Provide configurable UI font for gitkKeith Packard, Apr 2, 2006
  2. Junio C HamanoApr 2, 2006
  3. Keith PackardApr 2, 2006

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.