diff options
author | Manuel QuiƱones <manuel.por.aca@gmail.com> | 2011-05-03 03:38:15 (GMT) |
---|---|---|
committer | Manuel QuiƱones <manuel.por.aca@gmail.com> | 2011-05-03 03:38:15 (GMT) |
commit | 36ad725f12467ab7b9dd56827b37d1f267f7ef6f (patch) | |
tree | b25b98c6cad293ef6d18daaa619c2d1ba78b824d /toolbox.py | |
parent | 338e95d0545044d38cc98a470d3e52bf55690c3b (diff) |
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) |