~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/ProjectTemplate.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
297
297
 
298
298
                public bool HasItemFeatures (SolutionFolder parentFolder, ProjectCreateInformation cinfo)
299
299
                {
300
 
                        ISolutionItemDescriptor sid = solutionDescriptor.EntryDescriptors [0];
301
 
                        SolutionEntityItem sampleItem = sid.CreateItem (cinfo, languagename);
302
 
                        return (SolutionItemFeatures.GetFeatures (parentFolder, sampleItem).Length > 0);
 
300
                        // Disable solution item features. The project creation flow is awkward with
 
301
                        // tacking on additional features that are otherwise accessible through other
 
302
                        // means. It's especially awkward because there aren't many "features" to
 
303
                        // begin with. Want GTK? Create a new GTK project through templates.
 
304
 
 
305
                        return false;
 
306
 
 
307
                        // ISolutionItemDescriptor sid = solutionDescriptor.EntryDescriptors [0];
 
308
                        // SolutionEntityItem sampleItem = sid.CreateItem (cinfo, languagename);
 
309
                        // return (SolutionItemFeatures.GetFeatures (parentFolder, sampleItem).Length > 0);
303
310
                }
304
311
 
305
312
        }