Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2005-11-03 14:16:51 -0500
committermkersten2005-11-03 14:16:51 -0500
commitc58bfbf11da367f2a6af62b4214af6043be031ed (patch)
tree6c3727358c1a531f645494d84d199583981d055b
parent9dd7b23bf04f2cbfc632e816b4034345fbe5ab4d (diff)
downloadorg.eclipse.mylyn.tasks-c58bfbf11da367f2a6af62b4214af6043be031ed.tar.gz
org.eclipse.mylyn.tasks-c58bfbf11da367f2a6af62b4214af6043be031ed.tar.xz
org.eclipse.mylyn.tasks-c58bfbf11da367f2a6af62b4214af6043be031ed.zip
minor
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaPreferences.java7
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/IBugzillaConstants.java1
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/preferences/MylarTasklistPreferencePage.java2
3 files changed, 7 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaPreferences.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaPreferences.java
index 9f07294f6..093b2aadb 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaPreferences.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaPreferences.java
@@ -70,10 +70,13 @@ public class BugzillaPreferences
private static final String bugzillaPasswordLabel = "Bugzilla Password: ";
+
+ private static final String bugzilla220Label = "Using Bugzilla 2.20 compatiblity (overrides option below, some features disabled)";
private static final String bugzilla218Label = "Using Bugzilla 2.18 (default is 2.16)";
-
+
private static final String bugzillaMaxResultsLabel = "Maximum returned results: ";
+ private BooleanFieldEditor bugzilla220;
private BooleanFieldEditor bugzilla218;
private StringFieldEditor bugzillaUser;
@@ -124,6 +127,7 @@ public class BugzillaPreferences
maxResults = new IntegerFieldEditor(IBugzillaConstants.MAX_RESULTS, bugzillaMaxResultsLabel, getFieldEditorParent());
+ bugzilla220 = new BooleanFieldEditor(IBugzillaConstants.IS_220, bugzilla220Label, BooleanFieldEditor.DEFAULT, getFieldEditorParent());
bugzilla218 = new BooleanFieldEditor(IBugzillaConstants.IS_218, bugzilla218Label, BooleanFieldEditor.DEFAULT, getFieldEditorParent());
refreshQueries = new BooleanFieldEditor(IBugzillaConstants.REFRESH_QUERY, "Automatically refresh Bugzilla reports and queries on startup",
@@ -134,6 +138,7 @@ public class BugzillaPreferences
addField(bugzillaUser);
addField(bugzillaPassword);
addField(maxResults);
+ addField(bugzilla220);
addField(bugzilla218);
addField(refreshQueries);
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/IBugzillaConstants.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/IBugzillaConstants.java
index c2886525d..849f3e656 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/IBugzillaConstants.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/IBugzillaConstants.java
@@ -53,6 +53,7 @@ public interface IBugzillaConstants
static final String BUGZILLA_SERVER = "BUGZILLA_SERVER";
static final String MOST_RECENT_QUERY = "MOST_RECENT_QUERY";
static final String IS_218 = "BUGZILLA_IS_218";
+ static final String IS_220 = "BUGZILLA_IS_220";
static final String REFRESH_QUERY = "REFRESH_QUERY";
static final String MAX_RESULTS = "MAX_BUGZILLA_RESULTS";
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/preferences/MylarTasklistPreferencePage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/preferences/MylarTasklistPreferencePage.java
index d5be7ec01..69b18c97a 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/preferences/MylarTasklistPreferencePage.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/preferences/MylarTasklistPreferencePage.java
@@ -86,8 +86,6 @@ public class MylarTasklistPreferencePage extends PreferencePage implements
private void createBugzillaReportOption(Composite parent) {
Group container= new Group(parent, SWT.SHADOW_ETCHED_IN);
-// GridData gridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
-// container.setLayoutData(gridData);
container.setLayout(new RowLayout());
container.setText("Open Bug Reports With");
reportEditor = new Button(container, SWT.RADIO);

Back to the top