mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-21 16:05:25 +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:
parent
94bc2d7930
commit
2e7dbc8b55
2 changed files with 6 additions and 10 deletions
|
@ -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
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -7,7 +7,6 @@
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Red Hat Inc. - initial API and implementation
|
* Red Hat Inc. - initial API and implementation
|
||||||
* IBM Corporation
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.internal.autotools.core.configure;
|
package org.eclipse.cdt.internal.autotools.core.configure;
|
||||||
|
|
||||||
|
@ -17,10 +16,9 @@ import java.util.HashMap;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import org.eclipse.osgi.util.TextProcessor;
|
|
||||||
|
|
||||||
import org.eclipse.cdt.autotools.core.AutotoolsOptionConstants;
|
import org.eclipse.cdt.autotools.core.AutotoolsOptionConstants;
|
||||||
|
|
||||||
|
|
||||||
public class AutotoolsConfiguration implements IAConfiguration {
|
public class AutotoolsConfiguration implements IAConfiguration {
|
||||||
|
|
||||||
public static class Option {
|
public static class Option {
|
||||||
|
@ -59,11 +57,11 @@ public class AutotoolsConfiguration implements IAConfiguration {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return TextProcessor.process(ConfigureMessages.getConfigureDescription(transformedName));
|
return ConfigureMessages.getConfigureDescription(transformedName);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getToolTip() {
|
public String getToolTip() {
|
||||||
return TextProcessor.process(ConfigureMessages.getConfigureTip(transformedName));
|
return ConfigureMessages.getConfigureTip(transformedName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -11,7 +11,6 @@
|
||||||
* Andrew Gvozdev
|
* Andrew Gvozdev
|
||||||
* QNX Software Systems - [271628] NPE in configs for project that failed to convert
|
* QNX Software Systems - [271628] NPE in configs for project that failed to convert
|
||||||
* James Blackburn (Broadcom Corp.)
|
* James Blackburn (Broadcom Corp.)
|
||||||
* IBM Corporation
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.ui.newui;
|
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.resource.ImageDescriptor;
|
||||||
import org.eclipse.jface.util.IPropertyChangeListener;
|
import org.eclipse.jface.util.IPropertyChangeListener;
|
||||||
import org.eclipse.jface.util.PropertyChangeEvent;
|
import org.eclipse.jface.util.PropertyChangeEvent;
|
||||||
import org.eclipse.osgi.util.TextProcessor;
|
|
||||||
import org.eclipse.swt.SWT;
|
import org.eclipse.swt.SWT;
|
||||||
import org.eclipse.swt.events.SelectionAdapter;
|
import org.eclipse.swt.events.SelectionAdapter;
|
||||||
import org.eclipse.swt.events.SelectionEvent;
|
import org.eclipse.swt.events.SelectionEvent;
|
||||||
|
@ -776,7 +774,7 @@ implements
|
||||||
if (cfgDescs[i].isActive()) {
|
if (cfgDescs[i].isActive()) {
|
||||||
name = name + " " + Messages.AbstractPage_16; //$NON-NLS-1$
|
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
|
// Ensure that the last selected config is selected by default
|
||||||
|
|
Loading…
Add table
Reference in a new issue