Author: ankit
Date: 2007-03-28 14:55:21 -0500 (Wed, 28 Mar 2007)
New Revision: 75104

Modified:
   trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog
   trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileOptionPanelWidget.cs
Log:
* MakefileOptionPanelWidget.cs: Ensure reference combos are disabled for
non-dotnet projects even when enabling for the first time.


Modified: trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog    2007-03-28 
19:46:38 UTC (rev 75103)
+++ trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog    2007-03-28 
19:55:21 UTC (rev 75104)
@@ -1,3 +1,8 @@
+2007-03-29  Ankit Jain  <[EMAIL PROTECTED]>
+
+       * MakefileOptionPanelWidget.cs: Ensure reference combos are disabled for
+       non-dotnet projects even when enabling for the first time.
+
 2007-03-28  Ankit Jain  <[EMAIL PROTECTED]>
 
        * MakefileOptionPanelWidget.cs: Disable References combos etc for

Modified: 
trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileOptionPanelWidget.cs
===================================================================
--- trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileOptionPanelWidget.cs 
2007-03-28 19:46:38 UTC (rev 75103)
+++ trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileOptionPanelWidget.cs 
2007-03-28 19:55:21 UTC (rev 75104)
@@ -23,7 +23,12 @@
                {
                        this.data = tmpData;
                        isDotNetProject = (project is DotNetProject);
-                       
+                       if (!isDotNetProject) {
+                               // Disable all References combos etc for 
non-dotnet projects
+                               cbKeepRefSync.Sensitive = false;
+                               HandleKeepRefSyncClicked (cbKeepRefSync);
+                       }
+
                        if (data == null) {
                                //Use defaults
                                data = new MakefileData ();
@@ -46,12 +51,6 @@
                                this.fileEntryMakefilePath.Path = 
data.AbsoluteMakefileName;
                                this.fileEntryMakefilePath.DefaultPath = 
data.AbsoluteMakefileName;
                                this.cbEnableMakefileIntegration.Active = 
data.IntegrationEnabled;
-                               
-                               if (!isDotNetProject) {
-                                       // Disable all References combos etc 
for non-dotnet projects
-                                       cbKeepRefSync.Sensitive = false;
-                                       HandleKeepRefSyncClicked 
(cbKeepRefSync);
-                               }
 
                                FillCompilerMessageCombo ();
                                SetActiveVar (comboMessageType, 
data.MessageRegexName);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to