1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Revert "Bug 387132 - AR: Incorrect mirrored strings and bracket occurred on "Properties for autotools" pages on Linux"

This reverts commit f3824c1843.
This commit is contained in:
Vivian Kong 2012-08-28 20:39:42 -04:00
parent 94bc2d7930
commit 2e7dbc8b55
2 changed files with 6 additions and 10 deletions

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2009, 2012 Red Hat Inc.
* Copyright (c) 2009, 2011 Red Hat Inc.
* 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
@ -7,7 +7,6 @@
*
* Contributors:
* Red Hat Inc. - initial API and implementation
* IBM Corporation
*******************************************************************************/
package org.eclipse.cdt.internal.autotools.core.configure;
@ -17,10 +16,9 @@ import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.eclipse.osgi.util.TextProcessor;
import org.eclipse.cdt.autotools.core.AutotoolsOptionConstants;
public class AutotoolsConfiguration implements IAConfiguration {
public static class Option {
@ -59,11 +57,11 @@ public class AutotoolsConfiguration implements IAConfiguration {
}
public String getDescription() {
return TextProcessor.process(ConfigureMessages.getConfigureDescription(transformedName));
return ConfigureMessages.getConfigureDescription(transformedName);
}
public String getToolTip() {
return TextProcessor.process(ConfigureMessages.getConfigureTip(transformedName));
return ConfigureMessages.getConfigureTip(transformedName);
}
}

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2007, 2012 Intel Corporation, QNX Software Systems, and others.
* Copyright (c) 2007, 2010 Intel Corporation, QNX Software Systems, 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
@ -11,7 +11,6 @@
* Andrew Gvozdev
* QNX Software Systems - [271628] NPE in configs for project that failed to convert
* James Blackburn (Broadcom Corp.)
* IBM Corporation
*******************************************************************************/
package org.eclipse.cdt.ui.newui;
@ -52,7 +51,6 @@ import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.util.IPropertyChangeListener;
import org.eclipse.jface.util.PropertyChangeEvent;
import org.eclipse.osgi.util.TextProcessor;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
@ -776,7 +774,7 @@ implements
if (cfgDescs[i].isActive()) {
name = name + " " + Messages.AbstractPage_16; //$NON-NLS-1$
}
configSelector.add(TextProcessor.process(name));
configSelector.add(name);
}
// Ensure that the last selected config is selected by default