diff options
author | Gary Martin <gary@garycmartin.com> | 2009-09-12 01:18:34 (GMT) |
---|---|---|
committer | Gary Martin <gary@garycmartin.com> | 2009-09-12 01:18:34 (GMT) |
commit | 7eb90a19a786106e09062f8f827fd5bded814576 (patch) | |
tree | fe4ae6ad729e59bd8b7ce06b3f790f38a49de0a7 /layout.py | |
parent | f2411686f21064671cb8c7bc9c9860c7f342fb59 (diff) |
Move all misc. tools back into their own (constants) toolbar.
Diffstat (limited to 'layout.py')
-rw-r--r-- | layout.py | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -118,10 +118,11 @@ class CalcLayout: boolean_toolbar.props.label = _('Boolean') toolbar_box.toolbar.insert(boolean_toolbar, -1) - separator = gtk.SeparatorToolItem() - toolbar_box.toolbar.insert(separator, -1) - - MiscToolbar(self._parent, toolbar=toolbar_box.toolbar) + constant_toolbar = ToolbarButton() + constant_toolbar.props.page = MiscToolbar(self._parent) + constant_toolbar.props.icon_name = 'toolbar-constants' + constant_toolbar.props.label = _('Miscellaneous') + toolbar_box.toolbar.insert(constant_toolbar, -1) separator = gtk.SeparatorToolItem() separator.props.draw = False |