Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-08-26 12:45:59 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-08-26 12:45:59 (GMT)
commitba4f68ef58272fb57f6005b73d4d59dc7911470d (patch)
tree834ccb74e0f563165826046a87932222009b2312 /sugar
parent7042b4392effd921d502447606473031bf413ed8 (diff)
Cache the donut animation.
Diffstat (limited to 'sugar')
-rw-r--r--sugar/graphics/icon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/graphics/icon.py b/sugar/graphics/icon.py
index b3dc034..ad57da3 100644
--- a/sugar/graphics/icon.py
+++ b/sugar/graphics/icon.py
@@ -285,7 +285,7 @@ class _IconBuffer(object):
def set_cache_size(self, cache_size):
while len(self._surface_cache) > cache_size:
self._surface_cache.popitem()
- self._cache_size
+ self._cache_size = cache_size
cache_size = property(get_cache_size, set_cache_size)