Index: WorkbenchActionBuilder.java =================================================================== RCS file: /home/eclipse/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java,v retrieving revision 1.71 diff -u -r1.71 WorkbenchActionBuilder.java --- WorkbenchActionBuilder.java 7 Apr 2005 20:07:59 -0000 1.71 +++ WorkbenchActionBuilder.java 28 Apr 2005 18:04:36 -0000 @@ -30,6 +30,7 @@ import org.eclipse.jface.action.Separator; import org.eclipse.jface.action.ToolBarContributionItem; import org.eclipse.jface.action.ToolBarManager; +import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.util.IPropertyChangeListener; import org.eclipse.jface.util.PropertyChangeEvent; import org.eclipse.swt.widgets.Display; @@ -1266,26 +1267,41 @@ deleteAction = ActionFactory.DELETE.create(window); register(deleteAction); - AboutInfo[] infos = IDEWorkbenchPlugin.getDefault().getFeatureInfos(); - // See if a welcome page is specified - for (int i = 0; i < infos.length; i++) { - if (infos[i].getWelcomePageURL() != null) { - quickStartAction = IDEActionFactory.QUICK_START - .create(window); - register(quickStartAction); - break; - } - } - // See if a tips and tricks page is specified - for (int i = 0; i < infos.length; i++) { - if (infos[i].getTipsAndTricksHref() != null) { - tipsAndTricksAction = IDEActionFactory.TIPS_AND_TRICKS + // performance optimization - don't read ini files for about info + //if there is a quick start + IPreferenceStore ps = IDEWorkbenchPlugin.getDefault().getPreferenceStore(); + AboutInfo[] infos = null; + if (ps.getBoolean(IDEActionFactory.QUICK_START.getId())) { + quickStartAction = IDEActionFactory.QUICK_START.create(getWindow()); + register(quickStartAction); + } else { + infos = IDEWorkbenchPlugin.getDefault().getFeatureInfos(); + // See if a welcome page is specified + for (int i = 0; i < infos.length; i++) { + if (infos[i].getWelcomePageURL() != null) { + quickStartAction = IDEActionFactory.QUICK_START + .create(window); + register(quickStartAction); + break; + } + } + + } + + //See if a tips and tricks page is specified + if (ps.getBoolean(IDEActionFactory.TIPS_AND_TRICKS.getId())) { + tipsAndTricksAction = IDEActionFactory.TIPS_AND_TRICKS.create(getWindow()); + register(tipsAndTricksAction); + } else { + for (int i = 0; i < infos.length; i++) { + if (infos[i].getTipsAndTricksHref() != null) { + tipsAndTricksAction = IDEActionFactory.TIPS_AND_TRICKS .create(window); - register(tipsAndTricksAction); - break; - } - } - + register(tipsAndTricksAction); + break; + } + } + } // Actions for invisible accelerators showViewMenuAction = ActionFactory.SHOW_VIEW_MENU.create(window); register(showViewMenuAction);