From ea5c2e3917a7c546cce399a1acbb3b104205e0c3 Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Mon, 02 Sep 2013 15:45:58 +0000 Subject: Pyflakes fixes Signed-off-by: Gonzalo Odiard --- (limited to 'toolbox.py') 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')) -- cgit v0.9.1