Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2008-12-07 05:33:13 +0000
committerspingel2008-12-07 05:33:13 +0000
commit9c5fdcda1b6dd8b39e6ae4ee37a99a4695d17d24 (patch)
tree087ac015e4fe0b0895fff5c69e94e774a852ea4a /org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui
parenta9a28bf5bb1658d8f92a57130a209b7349dd7ebb (diff)
downloadorg.eclipse.mylyn.tasks-9c5fdcda1b6dd8b39e6ae4ee37a99a4695d17d24.tar.gz
org.eclipse.mylyn.tasks-9c5fdcda1b6dd8b39e6ae4ee37a99a4695d17d24.tar.xz
org.eclipse.mylyn.tasks-9c5fdcda1b6dd8b39e6ae4ee37a99a4695d17d24.zip
NEW - bug 257386: The dialog font is not applied to the dialog
https://bugs.eclipse.org/bugs/show_bug.cgi?id=257386
Diffstat (limited to 'org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui')
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracFilterQueryPage.java4
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracQueryPage.java7
2 files changed, 8 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracFilterQueryPage.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracFilterQueryPage.java
index 110b02c47..18553c803 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracFilterQueryPage.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracFilterQueryPage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
-* Copyright (c) 2006, 2008 Steffen Pingel and others.
+ * Copyright (c) 2006, 2008 Steffen Pingel and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -18,6 +18,7 @@ import java.util.Set;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
+import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.mylyn.commons.core.StatusHandler;
import org.eclipse.mylyn.internal.trac.core.client.ITracClient;
import org.eclipse.mylyn.internal.trac.core.model.TracSearch;
@@ -102,6 +103,7 @@ public class TracFilterQueryPage extends AbstractRepositoryQueryPage {
}
}
+ Dialog.applyDialogFont(composite);
setControl(composite);
}
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracQueryPage.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracQueryPage.java
index 2e6217492..ebdbf9444 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracQueryPage.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/TracQueryPage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
-* Copyright (c) 2006, 2008 Steffen Pingel and others.
+ * Copyright (c) 2006, 2008 Steffen Pingel and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -18,6 +18,7 @@ import java.util.Map;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
+import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.dialogs.IDialogSettings;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.operation.IRunnableWithProgress;
@@ -151,6 +152,7 @@ public class TracQueryPage extends AbstractRepositoryQueryPage {
}
}
+ Dialog.applyDialogFont(control);
setControl(control);
}
@@ -304,7 +306,8 @@ public class TracQueryPage extends AbstractRepositoryQueryPage {
if (getTaskRepository() != null) {
updateAttributesFromRepository(true);
} else {
- MessageDialog.openInformation(Display.getCurrent().getActiveShell(), Messages.TracQueryPage_Update_Attributes_Failed,
+ MessageDialog.openInformation(Display.getCurrent().getActiveShell(),
+ Messages.TracQueryPage_Update_Attributes_Failed,
Messages.TracQueryPage_No_repository_available);
}
}

Back to the top