Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/toolbox.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2013-09-02 15:45:58 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2013-09-02 15:45:58 (GMT)
commitea5c2e3917a7c546cce399a1acbb3b104205e0c3 (patch)
treea7e8e6ba7713f011cbf66b218c3b2ce3594ebd2c /toolbox.py
parent59e30e2d8db68b283bdf8b4c7e6a73d9ad33e946 (diff)
Pyflakes fixes
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'toolbox.py')
-rw-r--r--toolbox.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/toolbox.py b/toolbox.py
index 6764dd8..b4e624e 100644
--- a/toolbox.py
+++ b/toolbox.py
@@ -519,7 +519,6 @@ class ButtonFillColor(ColorToolButton):
self._activity.area.keep_shape_ratio = checkbutton.get_active()
def do_draw(self, cr):
- child = self.get_child()
if self._palette and self._palette.is_up():
allocation = self.get_allocation()
# draw a black background, has been done by the engine before
@@ -724,8 +723,6 @@ class ImageToolbar(Gtk.Toolbar):
self.width_percent = 1.
self.height_percent = 1.
- is_selected = self._activity.area.is_selected()
-
self._object_rotate_left = ToolButton('object-rotate-left')
self.insert(self._object_rotate_left, -1)
self._object_rotate_left.set_tooltip(_('Rotate Left'))