From: Jason L. <jl...@me...> - 2002-11-02 22:56:27
|
I am now committing a change to the gnome client that implements a data store for the node tree that is displayed in the client. This new data store means that the client does not need to expand the whole configuration tree before displaying itself, resulting in a faster startup time. (Previously, the client used the default GtkTreeStore which was manually filled with data from the tree.) Note however that there are a few quirks. One of the functions I had to implement was "get_parent". However, our Node API does not have a get_parent function, so I had to write a temporary replacement get_parent function that searches the whole tree for the node in question and returns the parent. Because of this you may find that you click to expand one node and a whole bunch of parsers for other nodes get run. This quirk should go away whenever the Node API gets a "get_parent" function. Jason |