From e945f1a347023c8cc50165ed97a2295b85a3e75a Mon Sep 17 00:00:00 2001 From: John Bintz Date: Sun, 13 Aug 2006 18:45:40 +0000 Subject: add interface for disabling interaction during long-running operations (bzr r1596) --- src/desktop.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/desktop.cpp') 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 * bulia byak * Ralf Stephan + * John Bintz * + * 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. -- cgit v1.2.3