diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2013-09-02 15:45:58 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2013-09-02 15:45:58 (GMT) |
commit | ea5c2e3917a7c546cce399a1acbb3b104205e0c3 (patch) | |
tree | a7e8e6ba7713f011cbf66b218c3b2ce3594ebd2c /widgets.py | |
parent | 59e30e2d8db68b283bdf8b4c7e6a73d9ad33e946 (diff) |
Pyflakes fixes
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'widgets.py')
-rw-r--r-- | widgets.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -51,7 +51,7 @@ class BrushButton(_ColorButton): self.set_image(self._preview) if self._has_palette and self._has_invoker: - self._invoker = WidgetInvoker(self) + self._invoker = ToolInvoker(self) # FIXME: This is a hack. self._invoker.has_rectangle_gap = lambda: False self._invoker.palette = self._palette @@ -405,7 +405,6 @@ class ButtonStrokeColor(Gtk.ToolItem): title = GObject.property(type=str, getter=get_title, setter=set_title) 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 |