oops, i can't do that
svn path=/trunk/msdn-browse/; revision=49394
This commit is contained in:
Родитель
c84f44d1d3
Коммит
c7a7228962
|
@ -1,7 +1,3 @@
|
|||
2005-09-03 Ben Maurer <bmaurer@ximian.com>
|
||||
|
||||
* main.cs: Clean up a bit
|
||||
|
||||
2005-09-02 Ben Maurer <bmaurer@ximian.com>
|
||||
|
||||
* main.cs: TreeNodeValue works on fields yay.
|
||||
|
|
13
main.cs
13
main.cs
|
@ -154,8 +154,17 @@ public class TreeNode : Gtk.TreeNode {
|
|||
[XmlAttribute]
|
||||
public string NodeXmlSrc;
|
||||
|
||||
TreeNode [] children;
|
||||
|
||||
[XmlElement ("TreeNode"), XmlElement ("Tree", typeof (Tree))]
|
||||
public TreeNode [] Children;
|
||||
public TreeNode [] Children {
|
||||
get {
|
||||
return children;
|
||||
}
|
||||
set {
|
||||
children = Flatten (value);
|
||||
}
|
||||
}
|
||||
|
||||
public void PopulateChildrenData ()
|
||||
{
|
||||
|
@ -169,7 +178,7 @@ public class TreeNode : Gtk.TreeNode {
|
|||
else
|
||||
n = MsdnClient.OpenTreeNode (NodeXmlSrc);
|
||||
|
||||
Children = Flatten (n.Children);
|
||||
Children = n.Children;
|
||||
}
|
||||
|
||||
bool populating;
|
||||
|
|
Загрузка…
Ссылка в новой задаче