diff options
Diffstat (limited to 'toolbox.py')
-rw-r--r-- | toolbox.py | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -311,12 +311,11 @@ class ToolsToolbarBuilder(): @param tool_name --The name of the selected tool """ if tool_name == 'stamp': - pixbuf = self._activity.area.setupStamp() - # Put stamp in menu widget: - self._stroke_color.color_button._pixbuf_stamp = pixbuf - self._stroke_color.set_stamping(True) + resized_stamp = self._activity.area.setupStamp() + self._stroke_color.color_button.set_resized_stamp(resized_stamp) else: - self._stroke_color.set_stamping(False) + self._stroke_color.color_button.stop_stamping() + self._stroke_color.update_stamping() self.properties['name'] = tool_name self._activity.area.set_tool(self.properties) |