зеркало из https://github.com/mozilla/gecko-dev.git
[for joe@retrovirus.com] Bug 324743, r=brettw. Result roots are closed by default.
Original committer: brettw%gmail.com Original revision: 1.45 Original date: 2006/01/31 03:05:02
This commit is contained in:
Родитель
ed44c5da16
Коммит
bdb06a8c40
|
@ -4119,8 +4119,10 @@ NS_IMETHODIMP nsNavHistoryResult::GetCellText(PRInt32 row,
|
|||
NS_IMETHODIMP nsNavHistoryResult::SetTree(nsITreeBoxObject* tree)
|
||||
{
|
||||
mTree = tree;
|
||||
if (mTree)
|
||||
if (mTree) {
|
||||
mRootNode->SetContainerOpen(PR_TRUE);
|
||||
SetTreeSortingIndicator();
|
||||
}
|
||||
// if there is no tree, BuildVisibleList will clear everything for us
|
||||
return BuildVisibleList();
|
||||
}
|
||||
|
@ -4746,4 +4748,3 @@ nsNavHistoryResult::OnPageChanged(nsIURI *aURI,
|
|||
ENUMERATE_HISTORY_OBSERVERS(OnPageChanged(aURI, aWhat, aValue));
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче