diff options
-rw-r--r-- | Area.py | 2 | ||||
-rw-r--r-- | toolbox.py | 4 |
2 files changed, 1 insertions, 5 deletions
@@ -1237,9 +1237,9 @@ class Area(Gtk.DrawingArea): self.queue_draw() self.enable_undo() - GObject.source_remove(source_id) window.set_cursor(old_cursor) + window.set_cursor(Gdk.Cursor.new(Gdk.CursorType.WATCH)) GObject.idle_add(internal_invert, self, old_cursor, window) def mirror(self, widget, horizontal=True): @@ -816,8 +816,4 @@ class ImageToolbar(Gtk.Toolbar): def invert_colors(self, widget): window = self.get_window() old_cursor = window.get_cursor() - GObject.idle_add(self.set_watch_cursor, window) self._activity.area.invert_colors(widget, old_cursor, window) - - def set_watch_cursor(self, window): - window.set_cursor(Gdk.Cursor.new(Gdk.CursorType.WATCH)) |