diff options
author | C. Scott Ananian <cscott@laptop.org> | 2008-09-25 17:38:13 (GMT) |
---|---|---|
committer | C. Scott Ananian <cscott@laptop.org> | 2008-09-25 18:39:47 (GMT) |
commit | 0d6d0fbfa09db3803de1ba5ca9407ca1d429b1b5 (patch) | |
tree | 7f979d4ee115ac3b1f26b541e1a98b8c750663d6 | |
parent | d109fcc71339c410aacb0736eb87c9ab4986fe1d (diff) |
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?
-rw-r--r-- | src/view/home/transitionbox.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |