aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKilian Matt2011-01-20 05:26:03 (EST)
committerMathias Kinzler2011-01-26 04:08:59 (EST)
commit897baf6bb2cf8e1e5e242bd318d8a4215c9de155 (patch)
treefd321cf5592750596f24f7d98c2def3c3b164862
parente7d27b3c42b17677e435cd7e04a4056a22e4be03 (diff)
downloadegit-897baf6bb2cf8e1e5e242bd318d8a4215c9de155.zip
egit-897baf6bb2cf8e1e5e242bd318d8a4215c9de155.tar.gz
egit-897baf6bb2cf8e1e5e242bd318d8a4215c9de155.tar.bz2
Removed duplicated code for history popup extensionrefs/changes/88/2288/3
-the popup menu was also registered, the addition seperator was missing -removed duplicated registration Change-Id: Ib1b0c386f04282b0229728d9f7fe8cb03cd06692
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java
index 1fe9814..dbe50e4 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java
@@ -218,9 +218,6 @@ class CommitGraphTable {
Control c = getControl();
menuMgr.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
- // TODO extract this as a constant in the future
- site.registerContextMenu("org.eclipse.egit.history.popup", menuMgr,table); //$NON-NLS-1$
-
c.setMenu(menuMgr.createContextMenu(c));
c.addMenuDetectListener(menuListener = new MenuListener(menuMgr,
getTableView(), site, copy));