Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/movableobject.py
diff options
context:
space:
mode:
authorpmoxhay <pmoxhay@earthlink.net>2009-04-10 11:26:22 (GMT)
committer pmoxhay <pmoxhay@earthlink.net>2009-04-10 11:26:22 (GMT)
commit5d16d925a35b2da6a2abfdce299d96ed594a240d (patch)
treebd2ab833f50efaffe940417cf95604a44e37e141 /movableobject.py
parenta42fc0d4d5d9b80f39bdb7a4bbafe1226ac39d8e (diff)
DropTargets now hilite correctly.
Diffstat (limited to 'movableobject.py')
-rw-r--r--movableobject.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/movableobject.py b/movableobject.py
index 50ff0f5..e382901 100644
--- a/movableobject.py
+++ b/movableobject.py
@@ -126,8 +126,12 @@ class MovableObject(Object):
for o in self.drop_targets:
if o.contains(self.get_bounds()) and not o.full:
o.hilite = True
+ #print "MoveableObject: DropTarget's hilite set to True, queue draw"
+ o.queue_draw()
else:
o.hilite = False
+ #print "MoveableObject: DropTarget's hilite set to False, queue draw"
+ o.queue_draw()
elif event.type == gtk.gdk.BUTTON_RELEASE:
#print "movable object: BUTTON_RELEASE"