diff options
| author | Kevin Sawicki | 2011-03-25 20:59:14 +0000 |
|---|---|---|
| committer | Chris Aniszczyk | 2011-03-30 22:04:50 +0000 |
| commit | 9cde2af6d453089109be5fc42ac40b1c3559b312 (patch) | |
| tree | 60688236a89eb249452beb6b3b230d0c6027013c | |
| parent | 9a015d867d44fe087d319c46a9dc73bc9c70cad1 (diff) | |
| download | egit-github-9cde2af6d453089109be5fc42ac40b1c3559b312.tar.gz egit-github-9cde2af6d453089109be5fc42ac40b1c3559b312.tar.xz egit-github-9cde2af6d453089109be5fc42ac40b1c3559b312.zip | |
Set GitHub task repository category property to bugs
Bug: 341004
Change-Id: I80f6807cec4f1e4c6622b66c126c57ca42ec62ef
Signed-off-by: Kevin Sawicki <kevin@github.com>
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
| -rw-r--r-- | org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/github/ui/internal/GitHubRepositorySettingsPage.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/github/ui/internal/GitHubRepositorySettingsPage.java b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/github/ui/internal/GitHubRepositorySettingsPage.java index d2b41873..a6f5c801 100644 --- a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/github/ui/internal/GitHubRepositorySettingsPage.java +++ b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/github/ui/internal/GitHubRepositorySettingsPage.java @@ -25,6 +25,7 @@ import org.eclipse.mylyn.github.internal.GitHub; import org.eclipse.mylyn.github.internal.GitHubCredentials; import org.eclipse.mylyn.github.internal.GitHubService; import org.eclipse.mylyn.github.internal.GitHubServiceException; +import org.eclipse.mylyn.internal.tasks.core.IRepositoryConstants; import org.eclipse.mylyn.tasks.core.TaskRepository; import org.eclipse.mylyn.tasks.ui.wizards.AbstractRepositorySettingsPage; import org.eclipse.swt.graphics.Point; @@ -147,4 +148,13 @@ public class GitHubRepositorySettingsPage extends return false; } + /** + * @see org.eclipse.mylyn.tasks.ui.wizards.AbstractRepositorySettingsPage#applyTo(org.eclipse.mylyn.tasks.core.TaskRepository) + */ + public void applyTo(TaskRepository repository) { + repository.setProperty(IRepositoryConstants.PROPERTY_CATEGORY, + IRepositoryConstants.CATEGORY_BUGS); + super.applyTo(repository); + } + } |
