aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Rolka2013-06-18 09:35:46 (EDT)
committerGerrit Code Review @ Eclipse.org2013-06-20 09:48:21 (EDT)
commit475317186f3b1793d5b2b7ecbce06c4cd6c58d71 (patch)
treebbb1eda82bf449ea15265a43cdad2f6303b8f785
parent92414611ce10ef5713ba2ef1ec890a7838229ee7 (diff)
downloadeclipse.platform.ui-475317186f3b1793d5b2b7ecbce06c4cd6c58d71.zip
eclipse.platform.ui-475317186f3b1793d5b2b7ecbce06c4cd6c58d71.tar.gz
eclipse.platform.ui-475317186f3b1793d5b2b7ecbce06c4cd6c58d71.tar.bz2
Bug 385128 - IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP doesrefs/changes/69/13869/2
nothing
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
index db2b144..83ef55d 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
@@ -591,8 +591,11 @@ public final class Workbench extends EventManager implements IWorkbench {
AbstractSplashHandler handler = getSplash();
+ boolean showProgress = PrefUtil.getAPIPreferenceStore().getBoolean(
+ IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP);
+
IProgressMonitor progressMonitor = null;
- if (handler != null) {
+ if (handler != null && showProgress) {
progressMonitor = handler.getBundleProgressMonitor();
if (progressMonitor != null) {
double cutoff = 0.95;