diff options
| author | Kilian Matt | 2011-01-20 10:26:03 +0000 |
|---|---|---|
| committer | Mathias Kinzler | 2011-01-26 09:08:59 +0000 |
| commit | 897baf6bb2cf8e1e5e242bd318d8a4215c9de155 (patch) | |
| tree | fd321cf5592750596f24f7d98c2def3c3b164862 | |
| parent | e7d27b3c42b17677e435cd7e04a4056a22e4be03 (diff) | |
| download | egit-897baf6bb2cf8e1e5e242bd318d8a4215c9de155.tar.gz egit-897baf6bb2cf8e1e5e242bd318d8a4215c9de155.tar.xz egit-897baf6bb2cf8e1e5e242bd318d8a4215c9de155.zip | |
Removed duplicated code for history popup extension
-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.java | 3 |
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 1fe9814441..dbe50e4f6c 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)); |
