diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-04-24 16:27:57 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-04-24 16:27:57 (GMT) |
commit | 8beee4fa438697ca8a5b82cb1c38a862c5f893f4 (patch) | |
tree | 8807fbef3cf3a302475e262b1e1168085dff956a /toolbox.py | |
parent | 275f706fc92eef8cd943f1fa12ff0209efd9bada (diff) |
Add separator before StopButton
Thanks Gary Martin <garycmartin@googlemail.com>
Diffstat (limited to 'toolbox.py')
-rw-r--r-- | toolbox.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -125,6 +125,13 @@ class DrawToolbarBox(ToolbarBox): image_button.props.label = _('Image') self.toolbar.insert(image_button, -1) + separator = gtk.SeparatorToolItem() + separator.props.draw = False + separator.set_size_request(0, -1) + separator.set_expand(True) + self.toolbar.insert(separator, -1) + separator.show() + stop = StopButton(self._activity) self.toolbar.insert(stop, -1) |