Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/graphics/toggletoolbutton.py
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2007-09-18 12:24:16 (GMT)
committer Simon Schampijer <simon@schampijer.de>2007-09-18 12:24:16 (GMT)
commit53f12652527f3e5249e6fb867e2a65f6406dc82b (patch)
tree94a6ad81b7adc0eeb67e442d9efbb35d7ef82aa0 /sugar/graphics/toggletoolbutton.py
parent0b9eb71046d3d13deba3dc2eee4eeb8a03bd9c77 (diff)
Handle the passing of the child of the toolitem to the WidgetInvoker in ToolInvoker, FrameWidgetInvoker
Diffstat (limited to 'sugar/graphics/toggletoolbutton.py')
-rw-r--r--sugar/graphics/toggletoolbutton.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/graphics/toggletoolbutton.py b/sugar/graphics/toggletoolbutton.py
index 2c97fa3..3d05cc0 100644
--- a/sugar/graphics/toggletoolbutton.py
+++ b/sugar/graphics/toggletoolbutton.py
@@ -40,7 +40,7 @@ class ToggleToolButton(gtk.ToggleToolButton):
if self._palette is not None:
self._palette.props.invoker = None
self._palette = palette
- self._palette.props.invoker = ToolInvoker(self.child)
+ self._palette.props.invoker = ToolInvoker(self)
def set_tooltip(self, text):
self.set_palette(Palette(text))