Author: duncan
Date: Fri Feb  9 17:02:54 2007
New Revision: 9183

Modified:
   branches/rel-1/freevo/src/plugins/idlebar/encoding.py

Log:
[ 1655456 ] Redraw problems between screensaver and exiting screensaver
Patch from Adam Charrett applied


Modified: branches/rel-1/freevo/src/plugins/idlebar/encoding.py
==============================================================================
--- branches/rel-1/freevo/src/plugins/idlebar/encoding.py       (original)
+++ branches/rel-1/freevo/src/plugins/idlebar/encoding.py       Fri Feb  9 
17:02:54 2007
@@ -341,8 +341,9 @@
         self.lastpoll = now
         _debug_("poll(self): poll=%.2f, draw=%.2f, interval=%s, state=%s" % \
             (pollduration, drawduration, self.draw_interval, self.state), 2)
-        if drawduration >= self.draw_interval / 100:
-            skin.redraw()
+        if skin.active():
+            if drawduration >= self.draw_interval / 100:
+                skin.redraw()
 
         # this is how to change the poll interval on the fly
         #if self.last_interval <> self.poll_interval:

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to