From 3d6053d862638f21a5028cbf9f6eb77c9b4bc791 Mon Sep 17 00:00:00 2001 From: Felipe Corr??a da Silva Sanches Date: Fri, 27 May 2011 20:37:38 -0300 Subject: 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) --- src/extension/execution-env.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/extension/execution-env.cpp') 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; } -- cgit v1.2.3