diff options
| author | John Bintz <me@johnbintz.com> | 2006-08-13 18:45:40 +0000 |
|---|---|---|
| committer | johncoswell <johncoswell@users.sourceforge.net> | 2006-08-13 18:45:40 +0000 |
| commit | e945f1a347023c8cc50165ed97a2295b85a3e75a (patch) | |
| tree | 9255eb62c79f091fbbd18426b6592c035b933ebf /src/desktop.cpp | |
| parent | added functions to allow update events to process during long-running operations (diff) | |
| download | inkscape-e945f1a347023c8cc50165ed97a2295b85a3e75a.tar.gz inkscape-e945f1a347023c8cc50165ed97a2295b85a3e75a.zip | |
add interface for disabling interaction during long-running operations
(bzr r1596)
Diffstat (limited to 'src/desktop.cpp')
| -rw-r--r-- | src/desktop.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp index 04328e84d..51580249e 100644 --- a/src/desktop.cpp +++ b/src/desktop.cpp @@ -8,7 +8,9 @@ * MenTaLguY <mental@rydia.net> * bulia byak <buliabyak@users.sf.net> * Ralf Stephan <ralf@ark.in-berlin.de> + * John Bintz <jcoswell@coswellproductions.org> * + * Copyright (C) 2006 John Bintz * Copyright (C) 2004 MenTaLguY * Copyright (C) 1999-2002 Lauris Kaplinski * Copyright (C) 2000-2001 Ximian, Inc. @@ -1028,6 +1030,17 @@ SPDesktop::updateNow() sp_canvas_update_now(canvas); } +void +SPDesktop::enableInteraction() +{ + _widget->enableInteraction(); +} + +void SPDesktop::disableInteraction() +{ + _widget->disableInteraction(); +} + //---------------------------------------------------------------------- // Callback implementations. The virtual ones are connected by the view. |
