Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez Gual <lluis@novell.com>2011-03-22 13:34:13 +0300
committerLluis Sanchez Gual <lluis@novell.com>2011-03-22 13:34:42 +0300
commit43f4e1b1e1a3349ab46450098475c110e84835d4 (patch)
tree1da504f57b579a163334e5ecfde9787a0524338d /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools
parentbf3118c39ed18b8ab26da4c1f891216793a4bdcf (diff)
Improved output pad reuse.
Added new method for getting an output pad for tools. Instead of having an output pad specific for each tool, now all can share the same pad. Also added an Id argument to GetOutputProgressMonitor. This id is used when building an Id for the corresponding key binding. Until now, we were using the monitor title for this, but it doesn't work well since the title is localized.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs
index bd663d1a84..bdd1d9d97d 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs
@@ -111,8 +111,7 @@ namespace MonoDevelop.Ide.CustomTools
}
}
- string title = GettextCatalog.GetString ("Custom Tool");
- var monitor = IdeApp.Workbench.ProgressMonitors.GetOutputProgressMonitor (title, null, false, true);
+ var monitor = IdeApp.Workbench.ProgressMonitors.GetToolOutputProgressMonitor (false);
var result = new SingleFileCustomToolResult ();
var aggOp = new AggregatedOperationMonitor (monitor);
try {