diff options
author | Lluis Sanchez Gual <lluis@novell.com> | 2011-02-28 21:59:20 +0300 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@novell.com> | 2011-02-28 21:59:55 +0300 |
commit | 4940e52d4d9f49004efe358fdd1f30dc29548486 (patch) | |
tree | d012bce91c914c3f744d8019dbf021af2386f88a /main/src/addins/NUnit | |
parent | acd59bca30d9c60442eece12c71b3762550868cd (diff) |
Run some gui code in the gui thread.
Diffstat (limited to 'main/src/addins/NUnit')
-rw-r--r-- | main/src/addins/NUnit/Services/NUnitService.cs | 4 |
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 (); |