private void ShowAutoConnectIP(TreeViewColumn column, CellRenderer cell, TreeModel model, TreeIter iter)
{
CellRendererText textCell = (CellRendererText) cell;
if (((TreeStore)model).IterDepth (iter) > 0) {
TrustedNodeInfo node = (TrustedNodeInfo) model.GetValue (iter, 0);
IDestination destination = node.FirstConnectableDestination;
if (destination == null) {
textCell.Text = "<unknown>";
} else {
textCell.Text = destination.ToString();
}
} else {
textCell.Text = String.Empty;
}
}