Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/toolbar.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2013-10-23 14:02:55 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2013-10-23 14:49:45 (GMT)
commit97302be73f4f196153f4bc6dc1651b03fbcc18e7 (patch)
tree5cf2513c4974a5f74ca11a3647154fdddd8ed87b /toolbar.py
parentd890b0d57fcb55da3eb20ea4266e3310d68715d8 (diff)
Pep8 and pyflakes fixes
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'toolbar.py')
-rw-r--r--toolbar.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/toolbar.py b/toolbar.py
index 5ff28cd..c37be74 100644
--- a/toolbar.py
+++ b/toolbar.py
@@ -23,10 +23,8 @@ import os
import time
# Gtk3
from gi.repository import Gtk, Gdk
-from sugar3.graphics.icon import Icon
from sugar3.graphics.toolbutton import ToolButton
from sugar3.graphics.toggletoolbutton import ToggleToolButton
-from sugar3.graphics.combobox import ComboBox
from sugar3.graphics.toolcombobox import ToolComboBox
from sugar3.graphics.objectchooser import ObjectChooser
from sugar3.graphics.palettemenu import PaletteMenuItem
@@ -360,7 +358,8 @@ class TextToolbar(Gtk.Toolbar):
# color
self._text_color.set_color(Gdk.Color(*globeText.color))
# font size
- logging.error('Setting font size from globe %s %s', globeText.font_size, globeText.font_size.__class__)
+ logging.error('Setting font size from globe %s %s',
+ globeText.font_size, globeText.font_size.__class__)
self._font_size_combo.handler_block(self._font_size_changed_id)
self._font_size_combo.set_font_size(int(globeText.font_size))
self._font_size_combo.handler_unblock(self._font_size_changed_id)