Followup patch to bug 33045 to fix the case where RerootThreadPane wasn't getting called when it should p=ch.ey@gmx.net r=me sr=bienvenu

This commit is contained in:
neil%parkwaycc.co.uk 2004-05-18 10:16:42 +00:00
parent c70ee1bc78
commit 1fcd61bad4
2 changed files with 2 additions and 14 deletions

View File

@ -389,13 +389,7 @@ function SwitchView(command)
break;
}
// that should have initialized gDBView, now re-root the thread pane
var treeView = gDBView.QueryInterface(Components.interfaces.nsITreeView);
if (treeView)
{
var tree = GetThreadTree();
tree.boxObject.QueryInterface(Components.interfaces.nsITreeBoxObject).view = treeView;
}
RerootThreadPane();
}
function SetSentFolderColumns(isSentFolder)

View File

@ -395,13 +395,7 @@ function SwitchView(command)
break;
}
// that should have initialized gDBView, now re-root the thread pane
var treeView = gDBView.QueryInterface(Components.interfaces.nsITreeView);
if (treeView)
{
var tree = GetThreadTree();
tree.boxObject.QueryInterface(Components.interfaces.nsITreeBoxObject).view = treeView;
}
RerootThreadPane();
}
function SetSentFolderColumns(isSentFolder)