Ejemplo n.º 1
0
        public override bool Evaluate(NodeElement conditionNode)
        {
            var solution = IdeApp.ProjectOperations.CurrentSelectedSolution;

            if (solution == null)
            {
                return(false);
            }
            return(SourceCodeLookup.GetDebugSourceFolders(solution).Any());
        }
        public DebugSourceFilesOptionsPanelWidget(Solution solution)
        {
            this.solution = solution;

            label        = new Label(BrandingService.BrandApplicationName(GettextCatalog.GetString("Folders where MonoDevelop should look for debug source files:")));
            label.Xalign = 0;
            PackStart(label, false, false, 0);
            selector.Directories = new List <string> (SourceCodeLookup.GetDebugSourceFolders(solution));
            PackStart(selector, true, true, 0);
            ShowAll();
            SetupAccessibility();
        }