Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2010-06-02 21:27:04 -0400
committerrelves2010-06-02 21:27:04 -0400
commite389d67fef0868aa9722be8af0a6b28ae813db53 (patch)
tree50dbc6a2b47530bccdae3a3887c2545947d29a54 /org.eclipse.mylyn.tasks.ui
parentd683799cd229fbf5a61dc79b418597ac68ec57a3 (diff)
downloadorg.eclipse.mylyn.tasks-e389d67fef0868aa9722be8af0a6b28ae813db53.tar.gz
org.eclipse.mylyn.tasks-e389d67fef0868aa9722be8af0a6b28ae813db53.tar.xz
org.eclipse.mylyn.tasks-e389d67fef0868aa9722be8af0a6b28ae813db53.zip
NEW - bug 263528: display a repository service message to warn users of problems, updates, and other relevant information
https://bugs.eclipse.org/bugs/show_bug.cgi?id=263528
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/notifications/TaskListServiceMessageControl.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/notifications/TaskListServiceMessageControl.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/notifications/TaskListServiceMessageControl.java
index 311b651b0..80b308958 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/notifications/TaskListServiceMessageControl.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/notifications/TaskListServiceMessageControl.java
@@ -22,7 +22,6 @@ import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.preference.PreferenceDialog;
import org.eclipse.mylyn.internal.provisional.commons.ui.CommonImages;
-import org.eclipse.mylyn.internal.provisional.commons.ui.CommonThemes;
import org.eclipse.mylyn.internal.provisional.commons.ui.GradientCanvas;
import org.eclipse.mylyn.internal.tasks.core.notifications.IServiceMessageListener;
import org.eclipse.mylyn.internal.tasks.core.notifications.ServiceMessage;
@@ -140,7 +139,7 @@ public class TaskListServiceMessageControl implements IServiceMessageListener {
Composite buttonsComp = new Composite(head, SWT.NONE);
TableWrapData data = new TableWrapData();
- data.align = TableWrapData.LEFT;
+ data.align = TableWrapData.RIGHT;
buttonsComp.setLayoutData(data);
GridLayout gLayout = new GridLayout(2, false);
gLayout.horizontalSpacing = 0;
@@ -274,8 +273,9 @@ public class TaskListServiceMessageControl implements IServiceMessageListener {
textFont.dispose();
}
});
- Color color = PlatformUI.getWorkbench().getThemeManager().getCurrentTheme().getColorRegistry().get(
- CommonThemes.COLOR_COMPLETED);
+ Color color = TasksUiPlugin.getDefault().getFormColors(text.getDisplay()).getColor(IFormColors.TITLE);
+// Color color = PlatformUI.getWorkbench().getThemeManager().getCurrentTheme().getColorRegistry().get(
+// CommonThemes.COLOR_COMPLETED);
text.setForeground(color);
return textFont;
}

Back to the top