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-02-28 21:59:20 +0300
committerLluis Sanchez Gual <lluis@novell.com>2011-02-28 22:00:27 +0300
commitce0af7c0c64d168d47229aa6a3f59bab07911578 (patch)
treed69e2bdc25e5461e9f4b1a0cd227a0694c0ae75f
parent6c3619315f87d26c880bdb6760c192e00759a705 (diff)
Run some gui code in the gui thread.monodevelop-2.5.90
-rw-r--r--main/src/addins/NUnit/Services/NUnitService.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/src/addins/NUnit/Services/NUnitService.cs b/main/src/addins/NUnit/Services/NUnitService.cs
index e2e25dedd9..7e4e115517 100644
--- a/main/src/addins/NUnit/Services/NUnitService.cs
+++ b/main/src/addins/NUnit/Services/NUnitService.cs
@@ -161,7 +161,9 @@ namespace MonoDevelop.NUnit
TestSession session = new TestSession (test, context, (TestResultsPad) resultsPad.Content);
session.Completed += delegate {
- resultsPad.Sticky = false;
+ Gtk.Application.Invoke (delegate {
+ resultsPad.Sticky = false;
+ });
};
session.Start ();