Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/graphics/palette.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-06-27 14:06:13 (GMT)
committer Tomeu Vizoso <tomeu@sugarlabs.org>2009-06-27 14:06:13 (GMT)
commit985edb0e4db5b0579373d140d3a34f2fa1428360 (patch)
treedea60bb57c6791f37194f89e72cc1fead2a008ec /src/sugar/graphics/palette.py
parentecea76479b3ea551d5964f8611cc4176bf3f0933 (diff)
Reduce motion are for treeview palettes to the bin window
Diffstat (limited to 'src/sugar/graphics/palette.py')
-rw-r--r--src/sugar/graphics/palette.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sugar/graphics/palette.py b/src/sugar/graphics/palette.py
index f5afe35..2c47950 100644
--- a/src/sugar/graphics/palette.py
+++ b/src/sugar/graphics/palette.py
@@ -1197,6 +1197,8 @@ class CellRendererInvoker(Invoker):
return gtk.gdk.Rectangle(x, y, width, height)
def __motion_notify_event_cb(self, widget, event):
+ if event.window != widget.get_bin_window():
+ return
if self._point_in_cell_renderer(event.x, event.y):
tree_view = self._tree_view