~ubuntu-branches/ubuntu/saucy/monodevelop/saucy-proposed

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.WebReferences/MonoDevelop.WebReferences.NodeBuilders/ProjectFolderNodeBuilderExtension.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-09-10 16:54:48 UTC
  • mfrom: (19.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100910165448-0rybfk25zd4o9431
Tags: 2.4+dfsg-2
* debian/patches/inject_Mono.Debugger.Soft_source.patch,
  debian/patches/use_system_Mono.Debugger.Soft.patch,
  debian/control:
  + Build against system Soft Debugger, since we now have a new
    enough Mono to match MonoDevelop's required API

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
                {
28
28
                        if (treeNavigator.Options ["ShowAllFiles"])
29
29
                                return;
30
 
                                
 
30
                        
31
31
                        ProjectFolder folder = dataObject as ProjectFolder;
32
 
                        if (folder != null && folder.Project != null && Library.GetWebReferencePath(folder.Project) == folder.Path)
33
 
                                attributes |= NodeAttributes.Hidden;
 
32
                        DotNetProject project = folder.Project as DotNetProject;
 
33
                        if (project == null)
 
34
                                return;
 
35
                        
 
36
                        foreach (var item in WebReferencesService.GetWebReferenceItems (project)) {
 
37
                                if (folder.Path == item.BasePath.ParentDirectory.CanonicalPath) {
 
38
                                        attributes |= NodeAttributes.Hidden;
 
39
                                        break;
 
40
                                }
 
41
                        }
34
42
                }
35
43
        }
36
44
}
 
 
b'\\ No newline at end of file'