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 22:00:27 +0300 |
commit | ce0af7c0c64d168d47229aa6a3f59bab07911578 (patch) | |
tree | d69e2bdc25e5461e9f4b1a0cd227a0694c0ae75f | |
parent | 6c3619315f87d26c880bdb6760c192e00759a705 (diff) |
Run some gui code in the gui thread.monodevelop-2.5.90
-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 (); |