Better rotation timers.
authorStefanos Harhalakis <v13@v13.gr>
Thu, 5 Aug 2010 19:31:01 +0000 (19:31 +0000)
committerStefanos Harhalakis <v13@v13.gr>
Thu, 5 Aug 2010 19:31:01 +0000 (19:31 +0000)
src/icon.py
src/icongrid.py

index aa8d5a8..32f4f84 100755 (executable)
@@ -116,7 +116,7 @@ class Icon(gobject.GObject):
        didn't. The caller should invalidate the icon """
 
        # The step in degrees
-       step=15
+       step=9
 
        angle2=int(angle/step)*step
 
index b13f7df..be097d0 100755 (executable)
@@ -126,7 +126,7 @@ class IconGrid(object):     #(gobject.GObject):
        dt=time.time()-self.angle_timer_start
 
        # Duration of the rotation effect
-       rotation_time=0.5
+       rotation_time=0.8
 
        da=90.0*dt/rotation_time