Author: ankit
Date: 2007-03-28 14:06:41 -0500 (Wed, 28 Mar 2007)
New Revision: 75100
Modified:
trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog
trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileOptionPanelWidget.cs
Log:
* MakefileOptionPanelWidget.cs: Disable References combos etc for
non-dotnet projects.
Modified: trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog 2007-03-28
18:42:56 UTC (rev 75099)
+++ trunk/monodevelop/Extras/MonoDevelop.Autotools/ChangeLog 2007-03-28
19:06:41 UTC (rev 75100)
@@ -1,5 +1,10 @@
2007-03-28 Ankit Jain <[EMAIL PROTECTED]>
+ * MakefileOptionPanelWidget.cs: Disable References combos etc for
+ non-dotnet projects.
+
+2007-03-28 Ankit Jain <[EMAIL PROTECTED]>
+
* MakefileOptionPanelWidget.cs (FillCombos): Sort list of variables.
2007-03-28 Ankit Jain <[EMAIL PROTECTED]>
Modified:
trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileOptionPanelWidget.cs
===================================================================
--- trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileOptionPanelWidget.cs
2007-03-28 18:42:56 UTC (rev 75099)
+++ trunk/monodevelop/Extras/MonoDevelop.Autotools/MakefileOptionPanelWidget.cs
2007-03-28 19:06:41 UTC (rev 75100)
@@ -16,11 +16,13 @@
{
MakefileData data;
ComboBox [] combos = null;
+ bool isDotNetProject;
public MakefileOptionPanelWidget (Project project, MakefileData
tmpData)
: this ()
{
this.data = tmpData;
+ isDotNetProject = (project is DotNetProject);
if (data == null) {
//Use defaults
@@ -44,6 +46,12 @@
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);
@@ -406,8 +414,10 @@
this.cbKeepOthersSync.Sensitive = active;
HandleKeepOthersSyncClicked (cbKeepOthersSync);
- this.cbKeepRefSync.Sensitive = active;
- HandleKeepRefSyncClicked (cbKeepRefSync);
+ if (isDotNetProject) {
+ this.cbKeepRefSync.Sensitive = active;
+ HandleKeepRefSyncClicked (cbKeepRefSync);
+ }
this.cbAutotoolsProject.Sensitive = active;
HandleCbAutotoolsProjectClicked (cbAutotoolsProject);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches