dogtail r350 - in trunk: . sniff



Author: zcerza
Date: 2007-12-10 21:17:15 +0000 (Mon, 10 Dec 2007)
New Revision: 350
ViewCVS link: http://svn.gnome.org/viewcvs/dogtail?rev=350&view=rev

Modified:
   trunk/ChangeLog
   trunk/sniff/sniff
Log:
* sniff/sniff: Move SniffModel.getNodeAttr() to SniffController, modify
it to be specific to the 'name' property of a node. That function is now called
nameDataFunc(). The behavior of nameDataFunc() has also been changed: instead
of changing the text of the TreeView cell representing a defunct Node to
'(broken node)', it now flags the row for removal by adding a reference to it
to SniffModel.deadNodes. Every 1000ms SniffModel will prune such rows from
itself. In my tests, this caused no extra measurable increase in CPU
utilization.	Also, remove all columns in SniffModel other than the node
column, as the rest were not being used anyway.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]