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, 05:18 UTC
Message-ID
<237967ef0810012218i28d41573s6bb7866e0be485f2@mail.gmail.com>
In-Reply-To
<alpine.LFD.2.00.0810011605001.3341@nehalem.linux-foundation.org>
2008/10/2 Linus Torvalds <torvalds@linux-foundation.org>:
Show 17 quoted lines
>
>
> On Wed, 1 Oct 2008, Mikael Magnusson wrote:
>>
>> git clone git://mika.l3ib.org/tracker.git
>>
>> I wrote it in pygtk since I know zero to no tcl/tk, hope that's okay.
>> It has a label with the time remaining (simply read from the daemon file),
>> and shows the text in red if less than 10% is remaining. You'll need to
>> change the ./ in cb_function to /var/log/tracker since I forgot to change
>> that and I'm lazy :).
>
> Well, it doesn't do anything at all for me except change the cursor to a
> cross, and if I'm a n00b with tcl/tk, I'm even more of one with pygtk.
>
> I merged the two other suggestions, though. And am open to seeing that
> pygtk thing too as an alternative, but only if it actually works for me ;)

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'.

-- 
Mikael Magnusson
Previous: Linus TorvaldsNext: Linus Torvalds
Message 7 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.