summaryrefslogtreecommitdiffstats
path: root/src/extension/execution-env.cpp
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2011-05-27 23:37:38 +0000
committerFelipe C. da S. Sanches <juca@members.fsf.org>2011-05-27 23:37:38 +0000
commit3d6053d862638f21a5028cbf9f6eb77c9b4bc791 (patch)
treebfe4752ca523ed36d03736c54b7f9752b496a417 /src/extension/execution-env.cpp
parenttypography extensions: (diff)
downloadinkscape-3d6053d862638f21a5028cbf9f6eb77c9b4bc791.tar.gz
inkscape-3d6053d862638f21a5028cbf9f6eb77c9b4bc791.zip
Add "silent" option to extension inx file so that extension authors can opt-out of displaying the "working, please wait" dialog.
Extensions that are tipically slow can still have the dialog show up by simply not adding this attribute to the inx file. (bzr r10240)
Diffstat (limited to 'src/extension/execution-env.cpp')
-rw-r--r--src/extension/execution-env.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/extension/execution-env.cpp b/src/extension/execution-env.cpp
index f9e099c26..a2550024a 100644
--- a/src/extension/execution-env.cpp
+++ b/src/extension/execution-env.cpp
@@ -141,7 +141,10 @@ ExecutionEnv::createWorkingDialog (void) {
true); // modal
_visibleDialog->signal_response().connect(sigc::mem_fun(this, &ExecutionEnv::workingCanceled));
g_free(dlgmessage);
- _visibleDialog->show();
+
+ if (!_effect->is_silent()){
+ _visibleDialog->show();
+ }
return;
}