From 44bfb8975492ed2f0528b8d3a7780bea73adf8bd Mon Sep 17 00:00:00 2001 From: bulia byak Date: Sun, 18 Mar 2007 04:04:26 +0000 Subject: add clearing busy cursor (resets current context's cursor) (bzr r2685) --- src/desktop.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/desktop.cpp') 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. -- cgit v1.2.3