diff options
author | mkersten | 2005-11-03 19:16:51 +0000 |
---|---|---|
committer | mkersten | 2005-11-03 19:16:51 +0000 |
commit | c58bfbf11da367f2a6af62b4214af6043be031ed (patch) | |
tree | 6c3727358c1a531f645494d84d199583981d055b | |
parent | 9dd7b23bf04f2cbfc632e816b4034345fbe5ab4d (diff) | |
download | org.eclipse.mylyn.tasks-c58bfbf11da367f2a6af62b4214af6043be031ed.tar.gz org.eclipse.mylyn.tasks-c58bfbf11da367f2a6af62b4214af6043be031ed.tar.xz org.eclipse.mylyn.tasks-c58bfbf11da367f2a6af62b4214af6043be031ed.zip |
minor
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); |