From: Stefanos Harhalakis Date: Thu, 5 Aug 2010 19:31:01 +0000 (+0000) Subject: Better rotation timers. X-Git-Url: http://vcs.maemo.org/git/?p=drlaunch;a=commitdiff_plain;h=000d4255aa7c4bf5a9bb2969e156df1fd93f5fcd Better rotation timers. --- diff --git a/src/icon.py b/src/icon.py index aa8d5a8..32f4f84 100755 --- a/src/icon.py +++ b/src/icon.py @@ -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 diff --git a/src/icongrid.py b/src/icongrid.py index b13f7df..be097d0 100755 --- a/src/icongrid.py +++ b/src/icongrid.py @@ -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