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@tomeuvizoso.net>2008-05-24 17:41:47 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2008-05-24 17:41:47 (GMT)
commit3700e8299c5eb280415a8a3492b48fa0e1edc0d6 (patch)
tree6ada614203a6c2675c367e608e64c404238bbd59 /src/sugar/graphics/palette.py
parent976abfc0b72cf29edfedf7b3cbd51a4b82916c54 (diff)
Disconnect button release signals on detach.
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 cd529be..82feca1 100644
--- a/src/sugar/graphics/palette.py
+++ b/src/sugar/graphics/palette.py
@@ -949,6 +949,7 @@ class WidgetInvoker(Invoker):
Invoker.detach(self)
self._widget.disconnect(self._enter_hid)
self._widget.disconnect(self._leave_hid)
+ self._widget.disconnect(self._release_hid)
def get_rect(self):
allocation = self._widget.get_allocation()
@@ -1044,6 +1045,7 @@ class CanvasInvoker(Invoker):
def detach(self):
Invoker.detach(self)
self._item.disconnect(self._motion_hid)
+ self._item.disconnect(self._release_hid)
def get_default_position(self):
return self.AT_CURSOR