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

Re: [PATCH] gitk: Work around empty back and forward images when buttons are disabled

From
Paul Mackerras <paulus@samba.org>
Date
Sep 23, 2012, 07:00 UTC
Message-ID
<20120923070015.GC15889@bloggs.ozlabs.ibm.com>
In-Reply-To
<1348300008-90717-1-git-send-email-stefan@haller-berlin.de>
On Sat, Sep 22, 2012 at 09:46:48AM +0200, Stefan Haller wrote:
Show 11 quoted lines
> On Mac, the back and forward buttons show an empty rectange instead of
> a grayed-out arrow when they are disabled. The reason is a Tk bug on Mac
> that causes disabled images not to draw correctly (not to draw at all,
> that is); see
> <https://groups.google.com/forum/?fromgroups=#!topic/comp.lang.tcl/V-nW1JBq0eU>.
> 
> To work around this, we explicitly provide gray images for the disabled
> state; I think this looks better than the default stipple effect that you
> get on Windows as well, but that may be a matter of taste.
> 
> Signed-off-by: Stefan Haller <stefan@haller-berlin.de>
Thanks, applied.
Paul.
Previous: Stefan Haller
Message 2 of 2 in “gitk: Work around empty back and forward images when buttons are disabled”
  1. gitk: Work around empty back and forward images when buttons are disabledStefan Haller, Sep 22, 2012
  2. Paul MackerrasSep 23, 2012

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.