Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/toolbox.py
diff options
context:
space:
mode:
authorSimon Schampijer <simon@laptop.org>2012-11-15 18:02:51 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-11-23 12:36:09 (GMT)
commit6f78b8104b3a9846e6c1e9171e2a0be8de4aca8b (patch)
treeda319a0a39a671cd7831a7dc784dd5baff41fe1c /toolbox.py
parentbbede53e28653119a8269c6d1e61cf1cf66f4a9e (diff)
Use the new lockable Palette, SL #4008
This is based on the lockable Palette support in the toolkit that landed in 6064fb30cc3cca24d2c68c588bcf3de5a047f584 Signed-off-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'toolbox.py')
-rw-r--r--toolbox.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/toolbox.py b/toolbox.py
index 1165836..15d638c 100644
--- a/toolbox.py
+++ b/toolbox.py
@@ -256,9 +256,7 @@ class ToolsToolbarBuilder():
#self._stroke_color.set_icon_name('icon-stroke')
self._stroke_color.set_title(_('Brush properties'))
self._stroke_color.connect('notify::color', self._color_button_cb)
- item = Gtk.ToolItem()
- item.add(self._stroke_color)
- toolbar.insert(item, -1)
+ toolbar.insert(self._stroke_color, -1)
separator = Gtk.SeparatorToolItem()
separator.set_draw(True)