Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/toolbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'toolbox.py')
-rw-r--r--toolbox.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolbox.py b/toolbox.py
index 2c96c41..9ba90ce 100644
--- a/toolbox.py
+++ b/toolbox.py
@@ -137,6 +137,7 @@ class DrawToolbarBox(ToolbarBox):
brush_button = tools_builder._stroke_color.color_button
brush_button.set_brush_shape(self._activity.area.tool['line shape'])
brush_button.set_brush_size(self._activity.area.tool['line size'])
+ brush_button.set_stamp_size(self._activity.area.tool['stamp size'])
if self._activity.area.tool['stroke color'] is not None:
brush_button.set_color(self._activity.area.tool['stroke color'])
@@ -311,12 +312,11 @@ class ToolsToolbarBuilder():
"""
if tool_name == 'stamp':
pixbuf = self._activity.area.setupStamp()
- # Put stamp in ButtonStrokeColor widget:
- # TODO use signals?
+ # Put stamp in menu widget:
self._stroke_color.color_button._pixbuf_stamp = pixbuf
- self._stroke_color.color_button.set_stamping(True)
+ self._stroke_color.set_stamping(True)
else:
- self._stroke_color.color_button.set_stamping(False)
+ self._stroke_color.set_stamping(False)
self.properties['name'] = tool_name
self._activity.area.set_tool(self.properties)