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

Re: [PATCH] tcl/tk8.5: fix changing colors through Edit->Preferences

From
Gerrit Pape <pape@smarden.org>
Date
Apr 5, 2008, 16:38 UTC
Message-ID
<20080405163842.29563.qmail@4e504c5c8f9cc2.315fe32.mid.smarden.org>
In-Reply-To
<20080326184526.2240.qmail@b31b9595cabb35.315fe32.mid.smarden.org>
On Wed, Mar 26, 2008 at 06:45:26PM +0000, Gerrit Pape wrote:
Show 19 quoted lines
> With tcl/tk8.5 the lset command seems to behave differently.  When
> changing the background color through Edit->Preferences, the changes
> are applied, but new dialogs, such as View->New view... barf with
> 
>  Error: unknown color name "{#ffffff}"
> 
> Additionally when closing gitk, and starting it up again, a bad value
> has been saved to ~/.gitk, preventing gitk from running properly; it
> fails with
> 
>  Error in startup script: unknown color name "{#ffffff}"
>  ...
> 
> This commit changes the color dialogs to not handle variables containing
> just a single color value as tcl lists, which fixes the issue.  Tested
> with tcl/tk8.4 and 8.5.
> 
> Dmitry Potapov reported this problem through
>  http://bugs.debian.org/472615

Hi, any comments on this patch? I can reproduce the problem on Debian with tcl/tk 8.5.1 and git 1.5.5.rc3.

Thanks, Gerrit.
Previous: Gerrit PapeNext: Paul Mackerras
Message 2 of 3 in “tcl/tk8.5: fix changing colors through Edit->Preferences”
  1. tcl/tk8.5: fix changing colors through Edit->PreferencesGerrit Pape, Mar 26, 2008
  2. Gerrit PapeApr 5, 2008
  3. Paul MackerrasApr 6, 2008

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.