Author: duncan
Date: Fri Oct  6 20:13:09 2006
New Revision: 8327

Modified:
   branches/rel-1-5/freevo/src/skins/main/screen.py

Log:
This could be a bit of a bodge but the skill is sometimes crashing, slow 
machine?

Modified: branches/rel-1-5/freevo/src/skins/main/screen.py
==============================================================================
--- branches/rel-1-5/freevo/src/skins/main/screen.py    (original)
+++ branches/rel-1-5/freevo/src/skins/main/screen.py    Fri Oct  6 20:13:09 2006
@@ -165,10 +165,12 @@
                                          border_size=size, border_color=color,
                                          radius=radius, layer=self.s_alpha)
             # and than blit only the changed parts of the screen
-            for x0, y0, x1, y1 in update_area:
-                self.s_content.blit(self.s_bg, (x0, y0), (x0, y0, x1-x0, 
y1-y0))
-                self.s_content.blit(self.s_alpha, (x0, y0), (x0, y0, x1-x0, 
y1-y0))
-
+            try:
+                for x0, y0, x1, y1 in update_area:
+                    self.s_content.blit(self.s_bg, (x0, y0), (x0, y0, x1-x0, 
y1-y0))
+                    self.s_content.blit(self.s_alpha, (x0, y0), (x0, y0, 
x1-x0, y1-y0))
+            except:
+                pass
 
         update_area += self.update_content
 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to