diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-05-23 16:00:47 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-05-23 16:00:47 (GMT) |
commit | ce235e7405a4ebe5012d281ab6b69a8ee60bd40f (patch) | |
tree | 688b9cb1d7716c81a08ed9970c7db28d455d81c4 /src/sugar/graphics/toggletoolbutton.py | |
parent | bbd3404310e40821dbdfe5e6dba9d63be7fd94a5 (diff) |
Finish to hook up the new palette stuff.
Diffstat (limited to 'src/sugar/graphics/toggletoolbutton.py')
-rw-r--r-- | src/sugar/graphics/toggletoolbutton.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sugar/graphics/toggletoolbutton.py b/src/sugar/graphics/toggletoolbutton.py index 4facd25..0f663a6 100644 --- a/src/sugar/graphics/toggletoolbutton.py +++ b/src/sugar/graphics/toggletoolbutton.py @@ -63,9 +63,9 @@ class ToggleToolButton(gtk.ToggleToolButton): allocation = self.get_allocation() child = self.get_child() - if self._palette and self._palette.is_up(): - invoker = self._palette.props.invoker - invoker.draw_rectangle(event, self._palette) + if self.palette and self.palette.is_up(): + invoker = self.palette.props.invoker + invoker.draw_rectangle(event, self.palette) elif child.state == gtk.STATE_PRELIGHT: child.style.paint_box(event.window, gtk.STATE_PRELIGHT, gtk.SHADOW_NONE, event.area, |