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
path: root/main/src
diff options
context:
space:
mode:
authorMichael Hutchinson <m.j.hutchinson@gmail.com>2011-08-24 23:03:38 +0400
committerMichael Hutchinson <m.j.hutchinson@gmail.com>2011-08-24 23:05:48 +0400
commit2bbbb756c2deef2c36eab23c6330c2b99e8076e2 (patch)
tree69c7555c9b6f4390c2c0a0c64418241528bd450f /main/src
parentee3523493159604f65ad5f5a9c3ff310f2b28f4e (diff)
[Ide] Fix parenting of message dialog
Diffstat (limited to 'main/src')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.ProgressMonitoring/BaseProgressMonitor.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.ProgressMonitoring/BaseProgressMonitor.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.ProgressMonitoring/BaseProgressMonitor.cs
index d143ad00d6..f7d8f6960b 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.ProgressMonitoring/BaseProgressMonitor.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.ProgressMonitoring/BaseProgressMonitor.cs
@@ -339,13 +339,14 @@ namespace MonoDevelop.Ide.ProgressMonitoring
MessageService.ShowWarning (Warnings[0]);
}
else if (Errors.Count > 0 || Warnings.Count > 0) {
- MultiMessageDialog resultDialog = new MultiMessageDialog ();
+ var resultDialog = new MultiMessageDialog () {
+ Modal = true,
+ };
foreach (string m in Errors)
resultDialog.AddError (m);
foreach (string m in Warnings)
resultDialog.AddWarning (m);
- resultDialog.Run ();
- resultDialog.Destroy ();
+ MessageService.ShowCustomDialog (resultDialog);
}
}