From 7eb90a19a786106e09062f8f827fd5bded814576 Mon Sep 17 00:00:00 2001 From: Gary Martin Date: Sat, 12 Sep 2009 01:18:34 +0000 Subject: Move all misc. tools back into their own (constants) toolbar. --- (limited to 'layout.py') diff --git a/layout.py b/layout.py index 5c76c45..4b9d73a 100644 --- a/layout.py +++ b/layout.py @@ -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 -- cgit v0.9.1