[Monodevelop-patches-list] r2562 - in trunk/MonoDevelop/Core/src/MonoDevelop.Base: . Gui/Dialogs/OptionPanels/ProjectOptions
John Luke <jluke@cfl.rr.com>
jluke at mono-cvs.ximian.com
Thu May 26 22:02:17 EDT 2005
Author: jluke
Date: 2005-05-26 22:02:16 -0400 (Thu, 26 May 2005)
New Revision: 2562
Modified:
trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog
trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/OptionPanels/ProjectOptions/CompileFileProjectOptions.cs
Log:
2005-05-26 John Luke <john.luke at gmail.com>
* Gui/Dialogs/OptionPanels/ProjectOptions/CompileFileProjectOptions.cs:
don't forget to save the list file in the files to compile list,
remove some unneccessary code, fixes bug 75043
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog 2005-05-25 23:00:01 UTC (rev 2561)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog 2005-05-27 02:02:16 UTC (rev 2562)
@@ -1,3 +1,9 @@
+2005-05-26 John Luke <john.luke at gmail.com>
+
+ * Gui/Dialogs/OptionPanels/ProjectOptions/CompileFileProjectOptions.cs:
+ don't forget to save the list file in the files to compile list,
+ remove some unneccessary code, fixes bug 75043
+
2005-05-19 Jacob Ilsø Christensen <jacobilsoe at gmail.com>
* Gui/Dialogs/WordCountDialog.cs: Fixed problem that numbers were not shown till moused over.
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/OptionPanels/ProjectOptions/CompileFileProjectOptions.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/OptionPanels/ProjectOptions/CompileFileProjectOptions.cs 2005-05-25 23:00:01 UTC (rev 2561)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/OptionPanels/ProjectOptions/CompileFileProjectOptions.cs 2005-05-27 02:02:16 UTC (rev 2562)
@@ -6,10 +6,6 @@
// </file>
using System;
-using System.IO;
-using System.Drawing;
-using System.Collections;
-using System.ComponentModel;
using MonoDevelop.Core.AddIns.Codons;
using MonoDevelop.Internal.Project;
@@ -64,8 +60,7 @@
const int column = 0;
Gtk.TreeIter iter;
- if (store.GetIterFromString(out iter, args.Path))
- {
+ if (store.GetIterFromString (out iter, args.Path)) {
bool val = (bool) store.GetValue(iter, column);
store.SetValue(iter, column, !val);
}
@@ -74,11 +69,10 @@
public bool Store ()
{
bool success = true;
- TreeIter first;
- store.GetIterFirst(out first);
- TreeIter current = first;
+ TreeIter current;
+ store.GetIterFirst (out current);
- for (int i = 0; i < store.IterNChildren() - 1 ; ++i) {
+ for (int i = 0; i < store.IterNChildren (); i++) {
if (i != 0)
store.IterNext(ref current);
string name = Runtime.FileUtilityService.RelativeToAbsolutePath(
@@ -107,8 +101,7 @@
public override bool StorePanelContents()
{
- bool success = widget.Store();
- return success;
+ return widget.Store ();
}
}
}
More information about the Monodevelop-patches-list
mailing list