Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/draggableobject.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 /draggableobject.py
parenta42fc0d4d5d9b80f39bdb7a4bbafe1226ac39d8e (diff)
DropTargets now hilite correctly.
Diffstat (limited to 'draggableobject.py')
-rw-r--r--draggableobject.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/draggableobject.py b/draggableobject.py
index 7ccf12d..360e30b 100644
--- a/draggableobject.py
+++ b/draggableobject.py
@@ -79,8 +79,12 @@ class DraggableObject(Object):
i += 1
if o.contains(self.get_bounds()) and not o.full:
o.hilite = True
+ #print "DraggableObject: DropTarget's hilite set to True, queue draw"
+ o.queue_draw()
else:
o.hilite = False
+ #print "DraggableObject: DropTarget's hilite set to False, queue draw"
+ o.queue_draw()
# End the drag.
elif event.type == gtk.gdk.BUTTON_RELEASE: