[gcompris/gcomprixogoo] Fixed anchors that were displayed in the background. Thanks



commit 4f89a2f306a26d0b8d22cc2cb2000156b0876d23
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Sun Nov 22 16:04:00 2009 +0100

    Fixed anchors that were displayed in the background. Thanks
    to my daughter Clara for the bug report.

 src/anim-activity/AnimItem.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/anim-activity/AnimItem.py b/src/anim-activity/AnimItem.py
index fc38573..3436403 100644
--- a/src/anim-activity/AnimItem.py
+++ b/src/anim-activity/AnimItem.py
@@ -496,7 +496,7 @@ class Anchor:
 
         self.anchorgroup = \
           goocanvas.Group(
-            parent = animitem.anim.rootitem,
+            parent = animitem.anim.doc.rootitem,
           )
 
         self.anchorbound = \
@@ -1004,7 +1004,7 @@ class AnchorText:
 
         self.anchorgroup = \
           goocanvas.Group(
-            parent = animitem.anim.rootitem,
+            parent = animitem.anim.doc.rootitem,
           )
 
         self.anchorbound = \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]