Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Aniszczyk2010-05-25 17:45:35 +0000
committerChris Aniszczyk2010-05-25 17:45:35 +0000
commit82e635ddb1d128af014ff20ccabdd23aa755ea67 (patch)
tree2aa061fca6a335a35538b925a6e27006da86f919
parent5e15a2766e800bc05939229d9f4e181bfb987623 (diff)
downloadegit-82e635ddb1d128af014ff20ccabdd23aa755ea67.tar.gz
egit-82e635ddb1d128af014ff20ccabdd23aa755ea67.tar.xz
egit-82e635ddb1d128af014ff20ccabdd23aa755ea67.zip
Make FilteredCheckboxTree compatible with Eclipse 3.4
When we added FilteredCheckboxTree support to EGit, we broke compatibility with Eclipse 3.4 by calling a 3.5+ constructor on FilteredTree. The fix is to call the older constructor. Change-Id: I1d4ee2fcbf9863b4957f7369843c5a292a8dee93 Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/FilteredCheckboxTree.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/FilteredCheckboxTree.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/FilteredCheckboxTree.java
index 859dcd7995..63ce31d792 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/FilteredCheckboxTree.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/FilteredCheckboxTree.java
@@ -64,7 +64,7 @@ public class FilteredCheckboxTree extends FilteredTree {
* @param filter pattern filter to use in the filter control
*/
public FilteredCheckboxTree(Composite parent, FormToolkit toolkit, int treeStyle, PatternFilter filter) {
- super(parent, true);
+ super(parent, treeStyle, filter);
fToolkit = toolkit;
init(treeStyle, filter);
}

Back to the top