Bug 275171 [Contributions] Customize Perspective action breaks editor pinning action
Using M7, I enabled editor pinning (i.e. Reuse editor) and pinned an editor using an action in the toolbar. I then disabled editor pinning ad then opened the customized perspective dialog. After this, enabling/disabling editor pinning does not make the Pin Editor action reappear.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
.create(window);
        register(projectPropertyDialogAction);
        if (window.getWorkbench().getIntroManager().hasIntro()) {
            introAction = ActionFactory.INTRO.create(window);
            register(introAction);
        }
        String showInQuickMenuId = IWorkbenchCommandConstants.NAVIGATE_SHOW_IN_QUICK_MENU;
        showInQuickMenu = new QuickMenuAction(showInQuickMenuId) {
            protected void fillMenu(IMenuManager menu) {
                menu.add(ContributionItemFactory.VIEWS_SHOW_IN
                        .create(window));
            }
        };
        register(showInQuickMenu);
        final String newQuickMenuId = "org.eclipse.ui.file.newQuickMenu"; 
        newQuickMenu = new QuickMenuAction(newQuickMenuId) {
            protected void fillMenu(IMenuManager menu) {
                menu.add(new NewWizardMenu(window));
            }
        };
        register(newQuickMenu);
        pinEditorContributionItem = ContributionItemFactory.PIN_EDITOR
                .create(window);
        
    }
    /**
     * Creates the feature-dependent actions for the menu bar.
     */
    private void makeFeatureDependentActions(IWorkbenchWindow window) {
        AboutInfo[] infos = null;