Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@novell.com>2009-01-02 15:49:14 +0300
committerLluis Sanchez <lluis@novell.com>2009-01-02 15:49:14 +0300
commit150f5c933493cc1f14ececad0a9402951edfd937 (patch)
treee8ca2e9046628c9291959d00d12a45351021c844 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.ExternalTools/ExternalToolPanel.cs
parentceabe45d382b7081aade5167f1dc9eb15a45864a (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.ExternalTools/ExternalToolPanel.cs')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.ExternalTools/ExternalToolPanel.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.ExternalTools/ExternalToolPanel.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.ExternalTools/ExternalToolPanel.cs
index 43b2d52ae6..ce6dd6f047 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.ExternalTools/ExternalToolPanel.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.ExternalTools/ExternalToolPanel.cs
@@ -333,12 +333,12 @@ namespace MonoDevelop.Ide.ExternalTools
do {
// loop through items in the tree
ExternalTool tool = toolListBox.Model.GetValue (current, 1) as ExternalTool;
- if (!FileService.IsValidFileName (tool.Command)) {
+ if (!FileService.IsValidPath (tool.Command)) {
MessageService.ShowError (String.Format(GettextCatalog.GetString ("The command of tool \"{0}\" is invalid."), tool.MenuCommand));
return false;
}
- if ((tool.InitialDirectory != "") && !FileService.IsValidFileName (tool.InitialDirectory)) {
+ if ((tool.InitialDirectory != "") && !FileService.IsValidPath (tool.InitialDirectory)) {
MessageService.ShowError (String.Format(GettextCatalog.GetString ("The working directory of tool \"{0}\" is invalid.") ,tool.MenuCommand));
return false;
}