From ebaa5c26e60b0a64d63de4c72ea7cfda8f4edc02 Mon Sep 17 00:00:00 2001 From: caustin Date: Tue, 29 Nov 2011 11:49:44 -0600 Subject: Bug 289320 - [Intro] Restoring WorkBench perspective out of Welcome page shows CheatSheet maximized --- .../src/org/eclipse/ui/internal/intro/impl/model/url/IntroURL.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/url/IntroURL.java b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/url/IntroURL.java index ffde98c9c..0feb28018 100644 --- a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/url/IntroURL.java +++ b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/url/IntroURL.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2010 IBM Corporation and others. + * Copyright (c) 2004, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -670,6 +670,8 @@ public class IntroURL implements IIntroURL { launchBar.createInActiveWindow(); + PlatformUI.getWorkbench().getIntroManager().setIntroStandby(intro, true); + closeIntro(); Rectangle endBounds = Geometry.toDisplay(launchBar.getControl() .getParent(), launchBar.getControl().getBounds()); -- cgit v1.2.3