diff options
author | Simon Schampijer <simon@schampijer.de> | 2007-09-18 12:24:16 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2007-09-18 12:24:16 (GMT) |
commit | 53f12652527f3e5249e6fb867e2a65f6406dc82b (patch) | |
tree | 94a6ad81b7adc0eeb67e442d9efbb35d7ef82aa0 /sugar/graphics/palette.py | |
parent | 0b9eb71046d3d13deba3dc2eee4eeb8a03bd9c77 (diff) |
Handle the passing of the child of the toolitem to the WidgetInvoker in ToolInvoker, FrameWidgetInvoker
Diffstat (limited to 'sugar/graphics/palette.py')
-rw-r--r-- | sugar/graphics/palette.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sugar/graphics/palette.py b/sugar/graphics/palette.py index acc14f7..3873d38 100644 --- a/sugar/graphics/palette.py +++ b/sugar/graphics/palette.py @@ -668,6 +668,9 @@ class CanvasInvoker(Invoker): return hippo.get_canvas_for_item(self._item).get_toplevel() class ToolInvoker(WidgetInvoker): + def __init__(self, widget): + WidgetInvoker.__init__(self, widget.child) + def _get_alignments(self): parent = self._widget.get_parent() if parent is None: |