View Single Post
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#376
Originally Posted by Wonko View Post
Well, as it didn't work out the way I wanted I discarded the code.
I could add it again and add an option to the settings UI for it.
By the way, what do you mean with "creating the image pattern"?
The code for playing the animation is in "/usr/lib/advanced-clock-plugin/pixbufanimationplayer.py"
Shouldn't the redraw take place in /usr/lib/advanced-clock-plugin/gtkpixbuftextwriter.py, right before the self.drawable.draw_pixbuf() lines? The other file is referencing a parent class, so it wouldn't be able to draw to the context directly.