Skip to content

Commit ef4c5db

Browse files
committed
Stop playing with ENABLE_ANIMATIONS
It had no effect for years so this change simply removes leftovers.
1 parent cc5231d commit ef4c5db

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/WorkbenchWindow.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2000, 2022 IBM Corporation and others.
2+
* Copyright (c) 2000, 2025 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -903,10 +903,6 @@ public boolean changed(IEclipseContext context) {
903903
}
904904
updateActionSets();
905905

906-
IPreferenceStore preferenceStore = PrefUtil.getAPIPreferenceStore();
907-
boolean enableAnimations = preferenceStore.getBoolean(IWorkbenchPreferenceConstants.ENABLE_ANIMATIONS);
908-
preferenceStore.setValue(IWorkbenchPreferenceConstants.ENABLE_ANIMATIONS, false);
909-
910906
// Hack!! don't show the intro if there's more than one open
911907
// perspective
912908
List<MPerspective> persps = modelService.findElements(model, null, MPerspective.class, null);
@@ -930,8 +926,6 @@ public void run() throws Exception {
930926
getWindowAdvisor().postWindowCreate();
931927
getWindowAdvisor().openIntro();
932928

933-
preferenceStore.setValue(IWorkbenchPreferenceConstants.ENABLE_ANIMATIONS, enableAnimations);
934-
935929
getShell().setData(this);
936930
trackShellActivation();
937931
addZoomChangeListenerToPromptForRestart();

0 commit comments

Comments
 (0)