View Single Post
Posts: 456 | Thanked: 1,580 times | Joined on Dec 2009
#148
I just uploaded version 0.10.0.
This version adds a simple "world clock" and an option for selecting the displayed time zone.
Also, this version hopefully fixes some issues which were mentioned here.

Originally Posted by theonelaw View Post
Weird - I just set text scaling to 80 or 90 and it jumps to 100.
Fixed in 0.10.0.
Was reading an integer from gconf whereas it should have been float.

Originally Posted by singpolyma
Is there a public source repository or other good thing or are hackers just extracting python from the .deb and using diff?
The complete source code can be found in the SVN repository at the garage site:
https://garage.maemo.org/projects/advclockplugin
Patches are also welcome (as long as they don't break any existing logic).
Or you could write your own addition as skykooler mentioned.
Advanced Clock Plugin is intended to be open for extension by others via custom "clock styles".

Originally Posted by singpolyma
I'm interested in seeing the DateTime clock and the Decimal clock be configurable such that I could put an arbitrary strftime-compatible string in to get whatever date/time formats I want.
For this use case I'd suggest to add another "clock style".
A good start would probably be to copy the existing DecimalClock.
Of course you would need some String input field in the configuration plugin and a method for adding that string to the clocks.
I could add a free text field and set it in a way such that the text is available when inheriting from the Clock base class.
This would others also to use that free text probably for even completely different purposes.

Currently, all options that can be set via the options frontend are accessible when inheriting from the Clock base class.
So anyone writing a custom clock can access these fields.
Have a look in clock.py to see what is currently available.
__________________

Last edited by Wonko; 2011-01-01 at 19:50. Reason: Fix typo.
 

The Following 2 Users Say Thank You to Wonko For This Useful Post: