[Monodevelop-patches-list] r1793 - in trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets: . Tree
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Mon Jun 21 00:23:30 EDT 2004
Author: jluke
Date: 2004-06-21 00:23:30 -0400 (Mon, 21 Jun 2004)
New Revision: 1793
Modified:
trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/ChangeLog
trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/Tree/TreeView.cs
Log:
scroll to the selected node
Modified: trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/ChangeLog 2004-06-21 04:20:13 UTC (rev 1792)
+++ trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/ChangeLog 2004-06-21 04:23:30 UTC (rev 1793)
@@ -1,3 +1,7 @@
+2004-06-21 John Luke <jluke at cfl.rr.com>
+
+ * Tree/TreeView.cs: Scroll to the node when it is selected
+
2004-06-18 Todd Berman <tberman at sevenl.net>
* DragNotebook/DragNotebook.cs: dont emit the event if either the old
Modified: trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/Tree/TreeView.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/Tree/TreeView.cs 2004-06-21 04:20:13 UTC (rev 1792)
+++ trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/Tree/TreeView.cs 2004-06-21 04:23:30 UTC (rev 1793)
@@ -103,6 +103,7 @@
}
set {
Selection.SelectIter (value.TreeIter);
+ this.ScrollToCell (store.GetPath (value.TreeIter), null, false, 0, 0);
}
}
More information about the Monodevelop-patches-list
mailing list