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>2010-04-23 13:03:10 +0400
committerLluis Sanchez <lluis@novell.com>2010-04-23 13:03:10 +0400
commitc1b9e0716886506e49862bc61f8e32170b72022f (patch)
treed1b1d4bcfcd0a9df129c66690e7d542ae3a52233 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad
parent7ceff16aefdc4b094b7baca468deada5b6eec0c8 (diff)
* MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolder.cs:
Use canonical paths when comparing paths. svn path=/trunk/monodevelop/; revision=155980
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolder.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolder.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolder.cs
index df765f8d8e..5146283426 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolder.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolder.cs
@@ -50,7 +50,7 @@ namespace MonoDevelop.Ide.Gui.Pads.ProjectPad
{
this.parent = parent;
this.parentWorkspaceObject = parentWorkspaceObject;
- this.absolutePath = absolutePath;
+ this.absolutePath = absolutePath.CanonicalPath;
}
public bool TrackChanges {
@@ -75,7 +75,7 @@ namespace MonoDevelop.Ide.Gui.Pads.ProjectPad
}
public string Name {
- get { return System.IO.Path.GetFileName (absolutePath); }
+ get { return absolutePath.FileName; }
}
public IWorkspaceObject ParentWorkspaceObject {