summaryrefslogtreecommitdiffstats
path: root/src
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
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')
-rw-r--r--src/desktop.cpp7
-rw-r--r--src/desktop.h1
2 files changed, 8 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.
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();