diff options
Diffstat (limited to 'Area.py')
-rw-r--r-- | Area.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -822,7 +822,7 @@ class Area(gtk.DrawingArea): if self.selmove: self.getout() - if self._undo_index < len(self._undo_list)-1: + if self._undo_index < len(self._undo_list) - 1: self._undo_index += 1 undo_pix = self._undo_list[self._undo_index] @@ -1120,7 +1120,6 @@ class Area(gtk.DrawingArea): self.enableUndo(widget) self.set_tool_cursor() - def drain_events(self, block=gtk.FALSE): while gtk.events_pending(): gtk.mainiteration(block) |