Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2007-02-08 02:18:04 +0000
committerrelves2007-02-08 02:18:04 +0000
commitb670c19b324e32d28d895cfad23f9eb9aa4d74c4 (patch)
treebba7019faa13f4bce1a4045b0ca017c996b17274 /org.eclipse.mylyn.tasks.ui
parent4b7a329b06f75ee446ee7c0dee44c9c47b8e030b (diff)
downloadorg.eclipse.mylyn.tasks-b670c19b324e32d28d895cfad23f9eb9aa4d74c4.tar.gz
org.eclipse.mylyn.tasks-b670c19b324e32d28d895cfad23f9eb9aa4d74c4.tar.xz
org.eclipse.mylyn.tasks-b670c19b324e32d28d895cfad23f9eb9aa4d74c4.zip
NEW - bug 173167: Mylar status error dialogs broken on M5
https://bugs.eclipse.org/bugs/show_bug.cgi?id=173167
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListNotificationPopup.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListNotificationPopup.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListNotificationPopup.java
index b319b542f..6545f2a39 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListNotificationPopup.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListNotificationPopup.java
@@ -149,9 +149,9 @@ public class TaskListNotificationPopup extends PopupDialog {
section.setTextClient(buttonsComposite);
buttonsComposite.setLayout(new RowLayout());
buttonsComposite.setBackground(section.getTitleBarBackground());
- final ImageHyperlink closeHyperlink = toolkit.createImageHyperlink(buttonsComposite, SWT.NONE);
- // closeHyperlink.setBackgroundMode(SWT.INHERIT_FORCE);
- closeHyperlink.setBackground(section.getTitleBarBackground());
+ final ImageHyperlink closeHyperlink = new ImageHyperlink(buttonsComposite, SWT.NONE);
+ toolkit.adapt(closeHyperlink, true, true);
+ closeHyperlink.setBackground(null);
closeHyperlink.setImage(TaskListImages.getImage(TaskListImages.NOTIFICATION_CLOSE));
closeHyperlink.addHyperlinkListener(new HyperlinkAdapter() {
@Override

Back to the top