Skip to content

Commit

Permalink
ZSTD-4724 Fix compilation error in org.zend.usagedata.ui
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloyan-raev committed Dec 5, 2014
1 parent 414b735 commit 4714b3f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import org.zend.core.notifications.ui.IActionListener;
import org.zend.core.notifications.ui.IBody;
import org.zend.core.notifications.ui.NotificationSettings;
import org.zend.core.notifications.util.FontName;
import org.zend.core.notifications.util.Fonts;
import org.zend.usagedata.UsageDataActivator;
import org.zend.usagedata.ui.internal.Messages;
Expand Down Expand Up @@ -71,12 +70,13 @@ private Composite createEntryComposite(Composite container) {

private void createDescription(Composite composite) {
Link label = new Link(composite, SWT.NONE);
label.setFont(Fonts.get(FontName.DEFAULT));
label.setFont(Fonts.DEFAULT.getFont());
label.setLayoutData(new GridData(SWT.LEFT, SWT.FILL, true, true, 3, 1));
label.setText(MessageFormat.format(
Messages.UIPreUploadListener_Description, UIUsageDataActivator
.getDefault().getProductName()));
label.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
Display.getDefault().syncExec(new Runnable() {

Expand Down

0 comments on commit 4714b3f

Please sign in to comment.