[Monodevelop-patches-list] r1818 - in trunk/MonoDevelop/src/Main/Base: . Commands/ProjectBrowserCommands

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Thu Jun 24 12:52:28 EDT 2004


Author: tberman
Date: 2004-06-24 12:52:28 -0400 (Thu, 24 Jun 2004)
New Revision: 1818

Modified:
   trunk/MonoDevelop/src/Main/Base/ChangeLog
   trunk/MonoDevelop/src/Main/Base/Commands/ProjectBrowserCommands/CombineNodeCommands.cs
Log:
help out the gc a bit.


Modified: trunk/MonoDevelop/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Main/Base/ChangeLog	2004-06-24 03:53:34 UTC (rev 1817)
+++ trunk/MonoDevelop/src/Main/Base/ChangeLog	2004-06-24 16:52:28 UTC (rev 1818)
@@ -1,5 +1,10 @@
 2004-06-24  Todd Berman  <tberman at off.net>
 
+	* Commands/ProjectBrowserCommands/CombineNodeCommands.cs: set dialog
+	to null after we are done with it.
+
+2004-06-24  Todd Berman  <tberman at off.net>
+
 	* Gui/Dialogs/NewSolutionDialog.cs:
 	* Commands/ProjectBrowserCommands/CombineNodeCommands.cs:
 	* Commands/FileCommands.cs: convert to using new async dispatcher

Modified: trunk/MonoDevelop/src/Main/Base/Commands/ProjectBrowserCommands/CombineNodeCommands.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Commands/ProjectBrowserCommands/CombineNodeCommands.cs	2004-06-24 03:53:34 UTC (rev 1817)
+++ trunk/MonoDevelop/src/Main/Base/Commands/ProjectBrowserCommands/CombineNodeCommands.cs	2004-06-24 16:52:28 UTC (rev 1818)
@@ -62,7 +62,8 @@
 			{
 				msg.ShowError (GettextCatalog.GetString ("Invalid Project File"));
 			}
-		}			
+			npdlg = null;
+		}	
 	}
 		
 	public class AddNewCombineToCombine : AbstractMenuCommand
@@ -94,12 +95,13 @@
 				projectService.SaveCombine();
 				
 				// expand to the new node
-				node.Nodes[newNodeIndex].Expand();
+				\node.Nodes[newNodeIndex].Expand();
 			}
 			catch
 			{
 				msg.ShowError (GettextCatalog.GetString ("Invalid Solution File"));
 			}
+			npdlg = null;
 		}
 	}
 	




More information about the Monodevelop-patches-list mailing list