[Monodevelop-patches-list] r1657 - in trunk/MonoDevelop/src/Main/Base: . Services/Project
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Thu May 27 15:40:29 EDT 2004
Author: tberman
Date: 2004-05-27 15:40:29 -0400 (Thu, 27 May 2004)
New Revision: 1657
Modified:
trunk/MonoDevelop/src/Main/Base/ChangeLog
trunk/MonoDevelop/src/Main/Base/Services/Project/DefaultProjectService.cs
Log:
fixing more of the bugs edd found.
Modified: trunk/MonoDevelop/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-05-27 18:48:25 UTC (rev 1656)
+++ trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-05-27 19:40:29 UTC (rev 1657)
@@ -1,5 +1,10 @@
2004-05-27 Todd Berman <tberman at sevenl.net>
+ * Services/Project/DefaultProjectService.cs: fix removing files
+ from projects via the project browser.
+
+2004-05-27 Todd Berman <tberman at sevenl.net>
+
* Internal/Project/Project/Combine.cs: properly handle spaces in the
solution and project names.
* Gui/Pads/ProjectBrowser/BrowserNode/CombineBrowserNode.cs: check
Modified: trunk/MonoDevelop/src/Main/Base/Services/Project/DefaultProjectService.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Services/Project/DefaultProjectService.cs 2004-05-27 18:48:25 UTC (rev 1656)
+++ trunk/MonoDevelop/src/Main/Base/Services/Project/DefaultProjectService.cs 2004-05-27 19:40:29 UTC (rev 1657)
@@ -660,8 +660,16 @@
public void RemoveFileFromProject(string fileName)
{
+ if (openCombine != null) {
+ if (Directory.Exists (fileName)) {
+ RemoveAllInDirectory(fileName);
+ } else {
+ RemoveFileFromAllProjects(fileName);
+ }
+ GenerateMakefiles ();
+ }
}
-
+
public void OnStartBuild()
{
if (StartBuild != null) {
More information about the Monodevelop-patches-list
mailing list