Author: lluis
Date: 2006-04-03 08:24:18 -0400 (Mon, 03 Apr 2006)
New Revision: 58943

Modified:
   trunk/monodevelop/Extras/NUnit/ChangeLog
   trunk/monodevelop/Extras/NUnit/Services/NUnitService.cs
Log:
2006-04-03 Lluis Sanchez Gual  <[EMAIL PROTECTED]>

        * NUnit/Services/NUnitService.cs: Use a GUI thread safe
          subscription to CombineOpened event.



Modified: trunk/monodevelop/Extras/NUnit/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/NUnit/ChangeLog    2006-04-03 12:24:00 UTC (rev 
58942)
+++ trunk/monodevelop/Extras/NUnit/ChangeLog    2006-04-03 12:24:18 UTC (rev 
58943)
@@ -1,3 +1,8 @@
+2006-04-03 Lluis Sanchez Gual  <[EMAIL PROTECTED]>
+
+       * NUnit/Services/NUnitService.cs: Use a GUI thread safe
+         subscription to CombineOpened event.
+
 2006-03-30 Lluis Sanchez Gual <[EMAIL PROTECTED]>
 
        * MonoDevelop.NUnit.addin.xml: Added info about the

Modified: trunk/monodevelop/Extras/NUnit/Services/NUnitService.cs
===================================================================
--- trunk/monodevelop/Extras/NUnit/Services/NUnitService.cs     2006-04-03 
12:24:00 UTC (rev 58942)
+++ trunk/monodevelop/Extras/NUnit/Services/NUnitService.cs     2006-04-03 
12:24:18 UTC (rev 58943)
@@ -53,8 +53,8 @@
                public override void InitializeService ()
                {
                        RegisterTestProvider (new SystemTestProvider ());
-                       IdeApp.ProjectOperations.CombineOpened += new 
CombineEventHandler (OnOpenCombine);
-                       IdeApp.ProjectOperations.CombineClosed += new 
CombineEventHandler (OnCloseCombine);
+                       IdeApp.ProjectOperations.CombineOpened += 
(CombineEventHandler) MonoDevelop.Core.Gui.Services.DispatchService.GuiDispatch 
(new CombineEventHandler (OnOpenCombine));
+                       IdeApp.ProjectOperations.CombineClosed += 
(CombineEventHandler) MonoDevelop.Core.Gui.Services.DispatchService.GuiDispatch 
(new CombineEventHandler (OnCloseCombine));
                        
                        IProjectService ps = 
MonoDevelop.Projects.Services.ProjectService;
                        ps.DataContext.IncludeType (typeof(UnitTestOptionsSet));

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to