Make the title for a finger document show "Finger information for

user@host". r=valeski.


git-svn-id: svn://10.0.0.236/trunk@66239 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%uiuc.edu
2000-04-18 02:40:23 +00:00
parent aa0631529d
commit ac0e34d599
2 changed files with 8 additions and 2 deletions

View File

@@ -486,7 +486,10 @@ nsFingerChannel::OnStopRequest(nsIChannel* aChannel, nsISupports* aContext,
nsCOMPtr<nsITXTToHTMLConv> converter(do_QueryInterface(converterListener));
if (converter) {
nsAutoString title; title.AssignWithConversion("Finger Results");
nsAutoString title; title.AssignWithConversion("Finger information for ");
nsXPIDLCString userHost;
rv = mUrl->GetPath(getter_Copies(userHost));
title.Append(userHost);
converter->SetTitle(title.GetUnicode());
converter->PreFormatHTML(PR_TRUE);
}