From 6f78b8104b3a9846e6c1e9171e2a0be8de4aca8b Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Thu, 15 Nov 2012 18:02:51 +0000 Subject: 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 --- (limited to 'toolbox.py') 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) -- cgit v0.9.1