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

Re: Help with a tcl/tk gui thing..

From
MMMikael Magnusson <mikachu@gmail.com>
Date
Oct 2, 2008, 15:01 UTC
Message-ID
<237967ef0810020801o47a40f8ye832a02783b5f992@mail.gmail.com>
In-Reply-To
<alpine.LFD.2.00.0810020746480.3341@nehalem.linux-foundation.org>
2008/10/2 Linus Torvalds <torvalds@linux-foundation.org>:
Show 15 quoted lines
>
>
> On Thu, 2 Oct 2008, Mikael Magnusson wrote:
>>
>> Heh, sorry, I'm an idiot. I forgot to put '#!/usr/bin/python' on the first
>> line. I was running 'python tracker-ui.py' then did chmod +x just before
>> committing :). So the cross is coming from running 'import time'.
>
> Ahh. It did _something_, so I assumed it was working, just not well. Being
> confused about the language would do it ;)
>
> I fixed it up and merged it as an alternate UI. It doesn't react well to a
> tracker file that has just been initialized with the timeout (but without
> any of the extra information that gets filled out once you actually start
> getting tracked), but it's certainly prettier than my original one.

Ah, I didn't play around too much with the actual server part, but I guess that would get sort of annoying, so I pushed a fix for that, and also it now sets the window title right.

I should also note that I'm not exactly a python master, so if it looks ugly, blame me, not python :).

-- 
Mikael Magnusson
Previous: Linus TorvaldsNext: Björn Steinbrink
Message 9 of 10 in “Help with a tcl/tk gui thing..”
  1. Linus TorvaldsOct 1, 2008
  2. Change color at specified thresholdJohannes Schindelin, Oct 1, 2008
  3. Make maximum surf time really per dayJohannes Schindelin, Oct 1, 2008
  4. Linus TorvaldsOct 1, 2008
  5. Mikael MagnussonOct 1, 2008
  6. Linus TorvaldsOct 1, 2008
  7. Mikael MagnussonOct 2, 2008
  8. Linus TorvaldsOct 2, 2008
  9. Mikael MagnussonOct 2, 2008
  10. GUI: Add a progressbar to visualize the time that is leftBjörn Steinbrink, Oct 1, 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.