diff options
author | Lluis Sanchez Gual <lluis@novell.com> | 2010-11-16 20:25:04 +0300 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@novell.com> | 2010-11-16 20:56:56 +0300 |
commit | 31d3c9a0dced09323fcf4eef70f78e96b49469e9 (patch) | |
tree | e2555787655e25b7ebba0ac5db71d18e2dc65e4b /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFolderNodeBuilder.cs | |
parent | 19305d8f55e02d1069e863675a79df52df621632 (diff) |
Fix bug #651586 - Errors with project folders not backed by real folders
Never show folders in red. This also fixes the blank item issue
reported in the bug.
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 | 6 |
1 files changed, 0 insertions, 6 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 6e70b2cdd4..bc8a1a469a 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 @@ -122,12 +122,6 @@ namespace MonoDevelop.Ide.Gui.Pads.ProjectPad ProjectFolder folder = (ProjectFolder) dataObject; label = folder.Name; - - //show directory in red if doesn't exist and doesn't have virtual linked children - if (!Directory.Exists (folder.Path) && !treeBuilder.HasChildren ()) { - label = "<span foreground='red'>" + label + "</span>"; - } - icon = folderOpenIcon; closedIcon = folderClosedIcon; } |