Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2011-09-07 21:51:23 +0000
committerKevin Sawicki2011-09-07 21:51:23 +0000
commita67f83050e0a2b9d7712a7899f126f783824c915 (patch)
tree02f21c7bcceab3b6f95fe63e54264e8188f4738d /org.eclipse.mylyn.github.ui/src/org/eclipse
parent7ec547072cd2fdd50dd7ec313a8943a186213c85 (diff)
downloadegit-github-a67f83050e0a2b9d7712a7899f126f783824c915.tar.gz
egit-github-a67f83050e0a2b9d7712a7899f126f783824c915.tar.xz
egit-github-a67f83050e0a2b9d7712a7899f126f783824c915.zip
Remove checkout, rebase, and merge actions from toolbar.
The workflow for these actions requires more refining than time permits for the 1.1 release. Change-Id: Ic3cd5290a2c41565504acb6b5abe91b0e2d455a5 Signed-off-by: Kevin Sawicki <kevin@github.com>
Diffstat (limited to 'org.eclipse.mylyn.github.ui/src/org/eclipse')
-rw-r--r--org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/pr/CommitAttributePart.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/pr/CommitAttributePart.java b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/pr/CommitAttributePart.java
index 9f5b9d42..eec5663e 100644
--- a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/pr/CommitAttributePart.java
+++ b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/pr/CommitAttributePart.java
@@ -15,7 +15,6 @@ import java.text.MessageFormat;
import org.eclipse.core.commands.common.CommandException;
import org.eclipse.core.expressions.IEvaluationContext;
-import org.eclipse.egit.github.core.PullRequest;
import org.eclipse.egit.ui.UIIcons;
import org.eclipse.egit.ui.UIUtils;
import org.eclipse.egit.ui.internal.commit.CommitEditor;
@@ -219,10 +218,12 @@ public class CommitAttributePart extends AbstractTaskEditorSection {
fetchCommits = createCommandContributionItem(FetchPullRequestHandler.ID);
mergePr = createCommandContributionItem(MergePullRequestHandler.ID);
rebasePr = createCommandContributionItem(RebasePullRequestHandler.ID);
- toolBarManager.add(checkoutPr);
+
+ // Disable actions for now
+ // toolBarManager.add(checkoutPr);
toolBarManager.add(fetchCommits);
- toolBarManager.add(mergePr);
- toolBarManager.add(rebasePr);
+ // toolBarManager.add(mergePr);
+ // toolBarManager.add(rebasePr);
}
@Override

Back to the top