summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-03-18 04:04:26 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-03-18 04:04:26 +0000
commit44bfb8975492ed2f0528b8d3a7780bea73adf8bd (patch)
tree11e80b95c165c990714dbbd6e5f85f1fd0eddedb /src/desktop.cpp
parentmore judicious checking of results of find on my shape lookup table. Null (diff)
downloadinkscape-44bfb8975492ed2f0528b8d3a7780bea73adf8bd.tar.gz
inkscape-44bfb8975492ed2f0528b8d3a7780bea73adf8bd.zip
add clearing busy cursor (resets current context's cursor)
(bzr r2685)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp7
1 files changed, 7 insertions, 0 deletions
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.