The Following 5 Users Say Thank You to Wonko For This Useful Post: | ||
|
2011-01-30
, 22:38
|
Posts: 281 |
Thanked: 679 times |
Joined on Feb 2010
|
#332
|
The Following User Says Thank You to cy8aer For This Useful Post: | ||
|
2011-01-30
, 23:24
|
Posts: 456 |
Thanked: 1,580 times |
Joined on Dec 2009
|
#333
|
I just made an upgrade from 0.13.0 to 0.14.0 and...
... it does not startup anymore so no clock in the statusbar anymore.
Are there any clues to get it work again?
The Following 2 Users Say Thank You to Wonko For This Useful Post: | ||
|
2011-01-31
, 02:09
|
|
Posts: 124 |
Thanked: 38 times |
Joined on Feb 2010
@ Gaffney, South Carolina, USA
|
#334
|
|
2011-01-31
, 02:40
|
Posts: 6 |
Thanked: 2 times |
Joined on Jul 2010
|
#335
|
The Following User Says Thank You to tuxoutpost For This Useful Post: | ||
|
2011-01-31
, 08:19
|
Posts: 456 |
Thanked: 1,580 times |
Joined on Dec 2009
|
#336
|
DEBUG_OUTPUT=1 /usr/bin/hildon-status-menu
The Following User Says Thank You to Wonko For This Useful Post: | ||
|
2011-02-01
, 02:14
|
Posts: 482 |
Thanked: 550 times |
Joined on Oct 2010
|
#337
|
In the current code for handling animated gifs I also used gobject.timeout_add to "install" a timer which triggers the updates for the animations.
Actually, this could also be a possibility to get an animation done.
Though, you have to keep in mind that the animation should not loop (i.e., eventually finishes) and it does not run longer than one second.
Else, for those who really want a fast refresh for having animations all the time could change the refresh delay in the gobject.timeout_add calls in "/usr/lib/hildon-desktop/advanced-clock-plugin.py".
The Following 2 Users Say Thank You to skykooler For This Useful Post: | ||
|
2011-02-01
, 02:42
|
Posts: 188 |
Thanked: 53 times |
Joined on May 2010
|
#338
|
|
2011-02-01
, 05:36
|
Posts: 482 |
Thanked: 550 times |
Joined on Oct 2010
|
#339
|
The Following User Says Thank You to skykooler For This Useful Post: | ||
|
2011-02-01
, 09:06
|
Posts: 456 |
Thanked: 1,580 times |
Joined on Dec 2009
|
#340
|
So I could just make a set doing up all the numbers something like this?
The Following User Says Thank You to Wonko For This Useful Post: | ||
I just uploaded version 0.14.0 to extras-devel.
Besides fixing some minor issues this version adds:
- support for using custom images for drawing the digits,
- support for animated gifs,
- and a working twelve hour mode for the binary clock.
The "custom images" feature should work with any of the present "stock" clocks that write digits as text.
The "animated gifs" feature currently only works well with the "Decimal Clock".
For the animated gifs feature to work it is important that:
- the animated gifs do not loop,
- and the animation time is shorter than one second.
Overall the new functionality is still pretty experimental.
I'd appreciate if you report any bugs you find either here, or even better in the projects bugtracker.
The settings user interface is also not 100% correctly implemented yet: it displays "." and ".." as entries.
I'll fix this but I finally wanted to get this version out in the wild so that you can leave feedback about the new features.
With respect to the "main loop":
Actually, there is no real main loop in the code in the sense that you would see some "infinite loop" that sleeps for some time and keeps triggering the updates.
Instead I used gobject.timeout_add to add a timer which triggers the updates in intervals of one second.
If the show seconds option is false then the logic checks whether the value for minutes has changed to determine whether an update is needed.
This whole logic is in "/usr/lib/hildon-desktop/advanced-clock-plugin.py".
In the current code for handling animated gifs I also used gobject.timeout_add to "install" a timer which triggers the updates for the animations.
Actually, this could also be a possibility to get an animation done.
Though, you have to keep in mind that the animation should not loop (i.e., eventually finishes) and it does not run longer than one second.
Else, for those who really want a fast refresh for having animations all the time could change the refresh delay in the gobject.timeout_add calls in "/usr/lib/hildon-desktop/advanced-clock-plugin.py".
Advanced Clock Plugin --- Binary Clock, Desktop Version --- libswt-hildon
Stultitia Simplex --- To-Do-O --- VU Meter --- Zeecontrol
My homepage with assorted posts about my apps, Qt/QML, etc.: http://ruedigergad.com