From 73346ccf1b314585f7b78b324bc02b50b7ecccc7 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Sat, 26 Feb 2011 18:35:49 +0000 Subject: jarabe.desktop.transitionbox: don't set icon size to float Icon sizes are measured in pixels, so they should be integers. Acked-By: Simon Schampijer --- diff --git a/src/jarabe/desktop/transitionbox.py b/src/jarabe/desktop/transitionbox.py index 4042044..fd2112c 100644 --- a/src/jarabe/desktop/transitionbox.py +++ b/src/jarabe/desktop/transitionbox.py @@ -34,7 +34,7 @@ class _Animation(animator.Animation): def next_frame(self, current): d = (self.end_size - self.start_size) * current - self._icon.props.size = self.start_size + d + self._icon.props.size = int(self.start_size + d) class _Layout(gobject.GObject, hippo.CanvasLayout): -- cgit v0.9.1