Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Jam/Desktop.py
diff options
context:
space:
mode:
authoramartin <olpc@xo-05-28-21.localdomain>2007-08-08 08:11:33 (GMT)
committer amartin <olpc@xo-05-28-21.localdomain>2007-08-08 08:11:33 (GMT)
commit480d87215c6667ccf1ea837409965cd7671d3169 (patch)
tree1240fa77b9efb3dc796eb50a7bb30c8aa132ce27 /Jam/Desktop.py
parenta088e2833750e1b37e839c693ca723e775c3aa29 (diff)
Jam drawing fixes
Diffstat (limited to 'Jam/Desktop.py')
-rw-r--r--Jam/Desktop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jam/Desktop.py b/Jam/Desktop.py
index 4b5f7c4..0a71d6f 100644
--- a/Jam/Desktop.py
+++ b/Jam/Desktop.py
@@ -146,11 +146,11 @@ class Desktop( gtk.EventBox ):
self.dragging = False
if self.possibleParent:
- self.possibleParent.invalidate_rect( False )
self.possibleParent.addChild( self.clickedBlock )
root = self.possibleParent.getRoot()
self.blocks.remove(root)
self.blocks.append(root)
+ root.invalidateBranch( True )
self.possibleParent = None
else:
self.blocks.append( self.clickedBlock )