Return-Path: X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 372F398B0 for ; Mon, 30 Jul 2012 16:43:26 +0000 (UTC) Received: (qmail 57254 invoked by uid 500); 30 Jul 2012 16:43:26 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 57202 invoked by uid 500); 30 Jul 2012 16:43:26 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 57193 invoked by uid 99); 30 Jul 2012 16:43:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2012 16:43:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2012 16:43:23 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id BD06223888FD for ; Mon, 30 Jul 2012 16:42:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1367159 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java Date: Mon, 30 Jul 2012 16:42:39 -0000 To: notifications@ant.apache.org From: hibou@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120730164239.BD06223888FD@eris.apache.org> Author: hibou Date: Mon Jul 30 16:42:39 2012 New Revision: 1367159 URL: http://svn.apache.org/viewvc?rev=1367159&view=rev Log: When disabling the path editor, also disable the "Project" button Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java?rev=1367159&r1=1367158&r2=1367159&view=diff ============================================================================== --- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java (original) +++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/PathEditor.java Mon Jul 30 16:42:39 2012 @@ -242,6 +242,9 @@ public class PathEditor extends Composit public void setEnabled(boolean enabled) { super.setEnabled(enabled); text.setEnabled(enabled); + if (browseProject != null) { + browseProject.setEnabled(enabled); + } browseFileSystem.setEnabled(enabled); browseWorkspace.setEnabled(enabled); variableButton.setEnabled(enabled);