}
}
- protected Composite getCredentialsBlock() {
+ public Composite getCredentialsBlock() {
return credentialsBlock;
}
child.dispose();
createContents(parent);
if (parent.getParent() != null)
- parent.getParent().layout();
+ parent.getParent().layout(true, true);
else
parent.layout();
usernameT.setText(usernameStr);
Button button = new Button(c, SWT.RADIO);
CmsUiUtils.style(button, CMS_USER_MENU_ITEM);
button.setData(i);
- button.setText(LocaleUtils.lead(locale.getDisplayName(locale), locale) + " (" + locale + ")");
+ button.setText(LocaleUtils.toLead(locale.getDisplayName(locale), locale) + " (" + locale + ")");
// button.addListener(SWT.Selection, listener);
button.addSelectionListener(selectionListener);
if (i == localeChoice.getSelectedIndex())