diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2011-05-27 23:37:38 +0000 |
|---|---|---|
| committer | Felipe C. da S. Sanches <juca@members.fsf.org> | 2011-05-27 23:37:38 +0000 |
| commit | 3d6053d862638f21a5028cbf9f6eb77c9b4bc791 (patch) | |
| tree | bfe4752ca523ed36d03736c54b7f9752b496a417 /src/extension/execution-env.cpp | |
| parent | typography extensions: (diff) | |
| download | inkscape-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.cpp | 5 |
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; } |
