1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 17:26:01 +02:00

fix for bug 189010 - Mnemonics problem in Open Element dialog

This commit is contained in:
Vivian Kong 2007-05-31 20:11:27 +00:00
parent 5a62498557
commit 883db256c2
2 changed files with 2 additions and 6 deletions

View file

@ -17,7 +17,7 @@ TypeSelectionDialog_filterLabel=Visible element types:
# START NON-TRANSLATABLE # START NON-TRANSLATABLE
TypeSelectionDialog_filterNamespaces=&Namespace TypeSelectionDialog_filterNamespaces=&Namespace
TypeSelectionDialog_filterClasses=&Class TypeSelectionDialog_filterClasses=C&lass
TypeSelectionDialog_filterStructs=&Struct TypeSelectionDialog_filterStructs=&Struct
TypeSelectionDialog_filterTypedefs=&Typedef TypeSelectionDialog_filterTypedefs=&Typedef
TypeSelectionDialog_filterEnums=&Enumeration TypeSelectionDialog_filterEnums=&Enumeration

View file

@ -39,7 +39,6 @@ import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text; import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.dialogs.FilteredList; import org.eclipse.ui.dialogs.FilteredList;
@ -394,10 +393,7 @@ public class TypeSelectionDialog extends TwoPaneElementSelector {
} }
} }
}); });
checkbox.setText(name);
Label label = new Label(composite, SWT.LEFT);
label.setFont(composite.getFont());
label.setText(name);
} }
/** /**