diff options
author | Lluis Sanchez <lluis@novell.com> | 2009-01-02 15:49:14 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2009-01-02 15:49:14 +0300 |
commit | 150f5c933493cc1f14ececad0a9402951edfd937 (patch) | |
tree | e8ca2e9046628c9291959d00d12a45351021c844 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs | |
parent | ceabe45d382b7081aade5167f1dc9eb15a45864a (diff) |
* core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:
* core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:
* core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs:
* core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/NewProjectDialog.cs:
* core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/LoadSavePanel.cs:
* core/MonoDevelop.Ide/MonoDevelop.Ide.ExternalTools/ExternalToolPanel.cs:
* core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/ReplaceInFilesDialog.cs:
* core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/SystemFileNodeBuilder.cs:
* core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFileNodeBuilder.cs:
* core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs:
Use IsValidFilePath instead of IsValidFileName when checking a path.
svn path=/trunk/monodevelop/; revision=122328
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs index 5d6a466d24..bf2a9ad870 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs @@ -157,7 +157,7 @@ namespace MonoDevelop.Ide.Gui.Pads.ProjectPad if (oldFoldername != newFoldername) { try { - if (FileService.IsValidFileName (newFoldername)) { + if (FileService.IsValidPath (newFoldername)) { FileService.RenameDirectory (oldFoldername, newName); if (folder.Project != null) IdeApp.ProjectOperations.Save (folder.Project); |