Author |
Message |
Jim1911
Joined: 19 May 2008 Posts: 2460 Location: Texas, USA
|
Posted: Fri 16 Oct 2009, 11:31 Post subject:
|
|
Works fine!
|
Back to top
|
|
 |
davesurrey
Joined: 05 Aug 2008 Posts: 1201 Location: UK
|
Posted: Fri 16 Oct 2009, 11:37 Post subject:
|
|
01micko wrote Quote: | davesurrey, re visible warning.. do you want an option for that? It could timeout any time you choose or not at all ... |
Hi and sorry for delayed reply but my partner's PC HDD crashed so tryng to recover the data. Bit of an emergency.
For me it would be great to have the option that it continued to give a visible warning until it was reset but for others it might be better if that is optional.
Thanks as ever
Dave
|
Back to top
|
|
 |
tlchost
Joined: 05 Aug 2007 Posts: 2051 Location: Baltimore, Maryland USA
|
Posted: Fri 16 Oct 2009, 12:01 Post subject:
|
|
01micko wrote: |
Try this one, experimental, but without experiments our knowledge can not grow
|
It works fine.....but, when it went off, I had to wonder....if I had set it to remind me to do something....it doesn't tell me what to do.
Maybe a field to enter the task? right now, it goes off, and in a senior moment, I have to ask myself what I am being reminded to do.
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8670 Location: qld
|
Posted: Fri 16 Oct 2009, 16:04 Post subject:
|
|
tclhost,
Ok, should be able to do that, add a field for the "task". Maybe I could add it to the splash? Would that be suitable?
Cheers
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
tlchost
Joined: 05 Aug 2007 Posts: 2051 Location: Baltimore, Maryland USA
|
Posted: Fri 16 Oct 2009, 16:11 Post subject:
|
|
01micko wrote: |
Ok, should be able to do that, add a field for the "task". Maybe I could add it to the splash? Would that be suitable?
|
I think that would be fantastic!
Thanks
Thom
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8670 Location: qld
|
Posted: Fri 16 Oct 2009, 16:57 Post subject:
|
|
Version -0.1.2
See main post
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Fri 16 Oct 2009, 18:58 Post subject:
|
|
Dear 01micko,
I made a few mods that shorten the script a bit (generated the item lists in loops). Please have a look. Also I replaced "file icon" with "file stock", since, in this way, gtkdialog respects the button icon size stipulated in the user's gtk theme.
With kind regards,
vovchik
Description |
|

Download |
Filename |
countdown.tar.gz |
Filesize |
1.36 KB |
Downloaded |
653 Time(s) |
|
Back to top
|
|
 |
tlchost
Joined: 05 Aug 2007 Posts: 2051 Location: Baltimore, Maryland USA
|
Posted: Fri 16 Oct 2009, 21:27 Post subject:
Thanks |
|
01micko wrote: | Version -0.1.2
|
Works fine ... but the dog snarled the fisrt time she read the screen.
Thanks!
Thom
|
Back to top
|
|
 |
Jim1911
Joined: 19 May 2008 Posts: 2460 Location: Texas, USA
|
Posted: Fri 16 Oct 2009, 21:59 Post subject:
|
|
Thank you for this nice little useful application. Works great.
Jim
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8670 Location: qld
|
Posted: Sat 17 Oct 2009, 01:06 Post subject:
|
|
Hi Jim1911 and tlchost.
Jim, remember when you reported the bug? I bet it was around 8 or 9 in the morning right? tlchost, same. The problem is the code solution I chose, which Patriot kindly pointed out to me. It wont handle 08 or 09 because bash (in this instance) reads the 0 as a switch to change to base 8. Consequently the code fails because we are working in base 10.
Now I know what the problem is I can fix it, but the fixed version will be slightly slower I fear (no prob for you Jim ) but I can test and refine on my old k6 400 w/ 128Mib ram.
vovchik, thanks for your interest, I will look at your code and try to understand it, all good learning experience for me
Cheers and thanks for reports.
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8670 Location: qld
|
Posted: Sat 17 Oct 2009, 01:22 Post subject:
|
|
vovchick
Thankyou for your addition, I love it! It will be in the next version, provided it works nice on my old machine, I can't see a problem. That code should trim a little fat too . I like it.
Cheers
Mick
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8670 Location: qld
|
Posted: Sat 17 Oct 2009, 03:56 Post subject:
|
|
updated to version -0.1.5
See main post
_____________________________________
vovchik,
I tried your function code and it didn't work. The gui rendered fine but it somehow would not allow the functions script to run correctly. The code (my code) is very , how shall we say, raw. There are still refinements to be made. I did implement the 'icon' to 'stock' change, thanks.
Cheers
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Sat 17 Oct 2009, 04:42 Post subject:
|
|
Dear01micko,
I am scratching my head. I don't see how my functions can affect the stuff in the functions file, particularly since the gui renders in your case, too. All my functions do, as you know, is to generate the item lists - rather than having them hardcoded. It all works on my puppies (3.01 and 4.10).
With kind regards,
vovchik
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8670 Location: qld
|
Posted: Sat 17 Oct 2009, 05:33 Post subject:
|
|
vovchik
I have it working now with my updated code . I was trying to implement too many changes at once... a bad idea . So I went back a step and implemented changes slowly.
Your function code will be in the next release. Just testing on old machine.
Cheers
Mick
_______________________________________
It all works on old box
Now up to v-0.1.6
See main post
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Sat 17 Oct 2009, 06:47 Post subject:
|
|
Dear mick,
I ahve another little suggestion. Try using the following in the "Duration of Splash" hbox:
Code: |
<frame Duration of Splash>
<hbox homogeneous=\"true\">
<radiobutton>
<variable>DUR1</variable>
<label>Short</label>
<default>$DUR1</default>
</radiobutton>
<radiobutton>
<variable>DUR2</variable>
<label>Sound time</label>
<default>$DUR2</default>
</radiobutton>
<radiobutton>
<variable>DUR3</variable>
<label>Infinity</label>
<default>$DUR3</default>
</radiobutton>
</hbox>
</frame> |
The homogeneous="true" bit in the hbox obviates the need for manually spacing the strings used in the labels. They will centre just fine without whitespace padding.
With kind regards,
vovchik
|
Back to top
|
|
 |
|