diff options
author | Marc Maurer <uwog@uwog.net> | 2007-09-02 18:27:55 (GMT) |
---|---|---|
committer | Marc Maurer <uwog@uwog.net> | 2007-09-02 18:27:55 (GMT) |
commit | 208f51d07038cf633ca6e33c1dddfa545d99ae63 (patch) | |
tree | 1ca6f92cc3a0379d340ea74449a8e1e40551687b | |
parent | 6a562362e2178fd79292a2d20460cffc7c41e617 (diff) |
Add a Style label before the Style combobox
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | toolbar.py | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,4 @@ +* Add a Style label before the Style combobox (uwog) * Hook up the abiword canvas font size signal to the Write toolbar (uwog) 36 @@ -334,6 +334,13 @@ class FormatToolbar(gtk.Toolbar): self._toolbox = toolbox self._abiword_canvas = abiword_canvas + style_label = gtk.Label(_("Style: ")) + style_label.show() + tool_item_style_label = gtk.ToolItem() + tool_item_style_label.add(style_label) + self.insert(tool_item_style_label, -1) + tool_item_style_label.show() + self._style_combo = ComboBox() self._styles = [['Heading 1',_('Heading 1')], ['Heading 2',_('Heading 2')], |