Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 435040
Collapse All | Expand All

(-)a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/PerspectiveRegistry.java (-1 / +1 lines)
Lines 73-79 Link Here
73
				
73
				
74
				if (existingDescriptor == null) {
74
				if (existingDescriptor == null) {
75
					// A custom perspective with its own name.
75
					// A custom perspective with its own name.
76
					String label = perspective.getLabel();
76
					String label = perspective.getLocalizedLabel();
77
					String originalId = getOriginalId(perspective.getElementId());
77
					String originalId = getOriginalId(perspective.getElementId());
78
					PerspectiveDescriptor originalDescriptor = descriptors.get(originalId);
78
					PerspectiveDescriptor originalDescriptor = descriptors.get(originalId);
79
					PerspectiveDescriptor newDescriptor = new PerspectiveDescriptor(id, label,
79
					PerspectiveDescriptor newDescriptor = new PerspectiveDescriptor(id, label,

Return to bug 435040