Author: hibou
Date: Thu Aug 16 23:51:20 2012
New Revision: 1374109

URL: http://svn.apache.org/viewvc?rev=1374109&view=rev
Log:
Fix the display of the retrieved classpath setup

Modified:
    
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/ClasspathSetupEditor.java

Modified: 
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/ClasspathSetupEditor.java
URL: 
http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/ClasspathSetupEditor.java?rev=1374109&r1=1374108&r2=1374109&view=diff
==============================================================================
--- 
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/ClasspathSetupEditor.java
 (original)
+++ 
ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/ClasspathSetupEditor.java
 Thu Aug 16 23:51:20 2012
@@ -103,7 +103,7 @@ public class ClasspathSetupEditor extend
 
         Composite buttons = new Composite(this, SWT.NONE);
         buttons.setLayout(new GridLayout(1, false));
-        GridData gridData = new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1);
+        GridData gridData = new GridData(SWT.FILL, SWT.FILL, true, false, 2, 
1);
         gridData.horizontalIndent = INDENT_BUTTONS;
         buttons.setLayoutData(gridData);
 
@@ -158,7 +158,7 @@ public class ClasspathSetupEditor extend
         alphaOrderCheck.setEnabled(enabled);
         selectCache.setEnabled(enabled);
         selectRetrieve.setEnabled(enabled);
-        retrieveComposite.setEnabled(enabled);
+        retrieveComposite.setEnabled(selectRetrieve.getSelection() && enabled);
         super.setEnabled(enabled);
     }
 }


Reply via email to