[hamster-applet/gnome-2-30] fixed bug 615338 - glitch in graphics lib regards waiting for the window



commit 905fd5013fdaaedb9c3872caea946cf4541df718
Author: Toms Bauģis <toms baugis gmail com>
Date:   Fri May 14 22:36:39 2010 +0100

    fixed bug 615338 - glitch in graphics lib regards waiting for the window

 src/hamster/graphics.py |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/hamster/graphics.py b/src/hamster/graphics.py
index 6d32834..be6ea4b 100644
--- a/src/hamster/graphics.py
+++ b/src/hamster/graphics.py
@@ -119,10 +119,6 @@ class Area(gtk.DrawingArea):
 
     """ animation bits """
     def __interpolate(self):
-        if not self.window: #will wait until window comes
-            return True
-
-
         time_since_last_frame = (dt.datetime.now() - self.last_frame_time).microseconds / 1000000.0
         self.tweener.update(time_since_last_frame)
         self.__drawing_queued = self.tweener.hasTweens()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]