From 0d6d0fbfa09db3803de1ba5ca9407ca1d429b1b5 Mon Sep 17 00:00:00 2001 From: C. Scott Ananian Date: Thu, 25 Sep 2008 17:38:13 +0000 Subject: Trac #8662: fix the jumpy xo man. It's a hack, but it's a small one. Probably the animation box (or the animated icon?) is getting some padding which the 'real' ones aren't? --- diff --git a/src/view/home/transitionbox.py b/src/view/home/transitionbox.py index fb351f8..4a6599a 100644 --- a/src/view/home/transitionbox.py +++ b/src/view/home/transitionbox.py @@ -55,8 +55,8 @@ class _Layout(gobject.GObject, hippo.CanvasLayout): min_width, child_width = child.get_width_request() min_height, child_height = child.get_height_request(child_width) - child.allocate(x + (width - child_width) / 2, - y + (height - child_height) / 2, + child.allocate(x + (width - child_width) / 2 - 1, + y + (height - child_height) / 2 - 2, child_width, child_height, origin_changed) class TransitionBox(hippo.Canvas): -- cgit v0.9.1