From: buliabyak Date: Sun, 18 Mar 2007 04:04:26 +0000 (+0000) Subject: add clearing busy cursor (resets current context's cursor) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3a8a771a3f3e72706e4567a73aa08a64ef2bc27d;p=inkscape.git add clearing busy cursor (resets current context's cursor) --- diff --git a/src/desktop.cpp b/src/desktop.cpp index 9658f00b7..ea002b872 100644 --- a/src/desktop.cpp +++ b/src/desktop.cpp @@ -1087,6 +1087,13 @@ void SPDesktop::setWaitingCursor() Gtk::Main::iteration(); } +void SPDesktop::clearWaitingCursor() +{ + if (waiting_cursor) + sp_event_context_update_cursor(sp_desktop_event_context(this)); +} + + //---------------------------------------------------------------------- // Callback implementations. The virtual ones are connected by the view. diff --git a/src/desktop.h b/src/desktop.h index fbc92b7a4..e5f9cdacc 100644 --- a/src/desktop.h +++ b/src/desktop.h @@ -243,6 +243,7 @@ struct SPDesktop : public Inkscape::UI::View::View void disableInteraction(); void setWaitingCursor(); + void clearWaitingCursor(); void fullscreen();