Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@sugarlabs.org>2010-11-25 20:18:56 (GMT)
committer Gonzalo Odiard <godiard@sugarlabs.org>2010-12-09 12:07:50 (GMT)
commitf632bff62eeea7dff43823fdda92f278378e4cf2 (patch)
tree53a162c72951eae2f6f4fd12d12832596b4da846
parentc299c4a2255fd7548288a9bfa6604da768c6b276 (diff)
Change the order in the options in the style combo
-rw-r--r--toolbar.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/toolbar.py b/toolbar.py
index dfa3d4d..33267db 100644
--- a/toolbar.py
+++ b/toolbar.py
@@ -655,7 +655,11 @@ class FormatToolbar(gtk.Toolbar):
self._has_custom_styles = False
self._style_combo = ComboBox()
- self._styles = [['Heading 1',_('Heading 1')],
+ self._styles = [['Normal',_('Normal')],
+ ['Block Text',_('Block Text')],
+ ['Plain Text',_('Plain Text')],
+ [None, None],
+ ['Heading 1',_('Heading 1')],
['Heading 2',_('Heading 2')],
['Heading 3',_('Heading 3')],
['Heading 4',_('Heading 4')],
@@ -664,11 +668,7 @@ class FormatToolbar(gtk.Toolbar):
['Dashed List',_('Dashed List')],
['Numbered List',_('Numbered List')],
['Lower Case List',_('Lower Case List')],
- ['Upper Case List',_('Upper Case List')],
- [None, None],
- ['Block Text',_('Block Text')],
- ['Normal',_('Normal')],
- ['Plain Text',_('Plain Text')]]
+ ['Upper Case List',_('Upper Case List')]]
self._style_changed_id = self._style_combo.connect('changed', self._style_changed_cb)
for i, s in enumerate(self._styles):
if s[1] != None: