[Monodevelop-patches-list] r2462 - in trunk/MonoDevelop/Core/src/MonoDevelop.Base: . Gui/Pads/SolutionPad
John Luke <jluke@cfl.rr.com>
jluke at mono-cvs.ximian.com
Sun Apr 17 12:32:23 EDT 2005
Author: jluke
Date: 2005-04-17 12:32:23 -0400 (Sun, 17 Apr 2005)
New Revision: 2462
Modified:
trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog
trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Pads/SolutionPad/TreeViewPad.cs
Log:
fix a few warnings
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog 2005-04-16 23:26:09 UTC (rev 2461)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog 2005-04-17 16:32:23 UTC (rev 2462)
@@ -1,3 +1,8 @@
+2005-04-17 John Luke <john.luke at gmail.com>
+
+ * Gui/Pads/SolutionPad/TreeViewPad.cs: use new AppendNode
+ and SetDefaultSortFunc API
+
2005-04-14 Lluis Sanchez Gual <lluis at novell.com>
* Internal/ProgressMonitoring/BaseProgressMonitor.cs: Don't crash
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Pads/SolutionPad/TreeViewPad.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Pads/SolutionPad/TreeViewPad.cs 2005-04-16 23:26:09 UTC (rev 2461)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Pads/SolutionPad/TreeViewPad.cs 2005-04-17 16:32:23 UTC (rev 2462)
@@ -180,7 +180,7 @@
tree.EnableModelDragDest (target_table, Gdk.DragAction.Copy | Gdk.DragAction.Move);
Gtk.Drag.SourceSet (tree, Gdk.ModifierType.Button1Mask, target_table, Gdk.DragAction.Copy | Gdk.DragAction.Move);
- store.SetDefaultSortFunc (new Gtk.TreeIterCompareFunc (CompareNodes), IntPtr.Zero, null);
+ store.SetDefaultSortFunc (new Gtk.TreeIterCompareFunc (CompareNodes));
store.SetSortColumnId (/* GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID */ -1, Gtk.SortType.Ascending);
tree.HeadersVisible = false;
@@ -1391,7 +1391,7 @@
FillNode ();
else {
RemoveChildren (currentIter);
- store.Append (currentIter); // Dummy node
+ store.AppendNode (currentIter); // Dummy node
store.SetValue (currentIter, TreeViewPad.FilledColumn, false);
}
@@ -1469,10 +1469,10 @@
Gtk.TreeIter it;
if (!currentIter.Equals (Gtk.TreeIter.Zero)) {
if (!Filled) return;
- it = store.Append (currentIter);
+ it = store.AppendNode (currentIter);
}
else
- store.Append (out it);
+ it = store.AppendNode ();
pad.RegisterNode (it, dataObject, chain);
@@ -1502,7 +1502,7 @@
store.SetValue (currentIter, TreeViewPad.FilledColumn, !hasChildren);
if (hasChildren)
- store.Append (currentIter); // Dummy node
+ store.AppendNode (currentIter); // Dummy node
currentIter = oldIter;
}
More information about the Monodevelop-patches-list
mailing list