projects
/
drlaunch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d647a75
)
Better rotation timers.
author
Stefanos Harhalakis
<v13@v13.gr>
Thu, 5 Aug 2010 19:31:01 +0000
(19:31 +0000)
committer
Stefanos Harhalakis
<v13@v13.gr>
Thu, 5 Aug 2010 19:31:01 +0000
(19:31 +0000)
src/icon.py
patch
|
blob
|
history
src/icongrid.py
patch
|
blob
|
history
diff --git
a/src/icon.py
b/src/icon.py
index
aa8d5a8
..
32f4f84
100755
(executable)
--- 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
(executable)
--- 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