Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/toolbox.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2013-12-20 15:23:30 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2013-12-20 15:23:30 (GMT)
commit18726b28d0286640d887d5dfe9e74a0972bc1bd0 (patch)
treeca2ed14f7d4310fa51fd3a757f46a8c9489429bf /toolbox.py
parentfc74c6b45c6a9af08ba3119fba6df5bf1fb8d686 (diff)
Fix bucket color - SL #4622
Divide and multiply the color numbers to use them in the different formats needed produce rounding errors and change the color. Store the bucket colors as integer in a separated property. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'toolbox.py')
-rw-r--r--toolbox.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/toolbox.py b/toolbox.py
index 78cf76c..c0ab27b 100644
--- a/toolbox.py
+++ b/toolbox.py
@@ -429,8 +429,6 @@ class ToolsToolbarBuilder():
self.set_tool(button, self._selected_tool_name)
def _color_button_cb(self, widget, pspec):
- logging.error('ToolsToolbarBuilder._color_button_cb')
-
new_color = widget.get_color()
self._activity.area.set_stroke_color(new_color)