diff options
author | Ignacio Rodriguez <ignacio@sugarlabs.org> | 2013-12-12 23:33:09 (GMT) |
---|---|---|
committer | Ignacio Rodriguez <ignacio@sugarlabs.org> | 2013-12-12 23:33:09 (GMT) |
commit | f0cff86eb23efedcbd1bec41e9c4fc6e7811de28 (patch) | |
tree | 67360e8215aaa7eea5bbd855bc63164aeb1bac31 | |
parent | d96d19085570856ca1e2549ce77f08afcdf04f7b (diff) |
-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)) |