Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/widgets.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2011-08-30 17:46:32 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2011-08-30 17:46:32 (GMT)
commit01637001ea528688dc31e7b21d24653729d3f511 (patch)
treec98229efa88d321a20c0abe6ec6abdff1a393e89 /widgets.py
parent5e1f45d74b76b5716cac328ef23cb88ec391612f (diff)
Pep fixes
Signed-of-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'widgets.py')
-rw-r--r--widgets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets.py b/widgets.py
index 728963d..b79dbf7 100644
--- a/widgets.py
+++ b/widgets.py
@@ -69,7 +69,7 @@ class FontCombo(ComboBox):
if not self._has_custom_fonts:
# add a separator to seperate the non-available fonts from
# the available ones
- self._fonts.append('') # ugly
+ self._fonts.append('') # ugly
self.append_separator()
self._has_custom_fonts = True
# add the new font
@@ -79,7 +79,7 @@ class FontCombo(ComboBox):
model = self.get_model()
num_children = model.iter_n_children(None)
logger.debug('Number of fonts in the list: %d', num_children)
- font_index = num_children-1
+ font_index = num_children - 1
# activate the found font
if (font_index > -1):