b44281, r=don, a=don

This commit is contained in:
ben%netscape.com 2000-07-21 00:38:04 +00:00
parent 8bc3199379
commit c8654807b3
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ function SetSecurityButton()
securityUI = ui.QueryInterface(Components.interfaces.nsSecureBrowserUI);
var button = document.getElementById('security-button');
var certAuth = document.getElementById('certificate-authority');
var certAuth = document.getElementById('security-button');
if (button && window._content)
securityUI.init(window._content, button, certAuth);
}

View File

@ -382,7 +382,7 @@ nsSecureBrowserUIImpl::OnStateChange(nsIWebProgress* aWebProgress,
// will memcpy just return if size == 0?
memcpy(str + CERT_PREFIX_STR_LENGTH, caName.data, caName.len);
*(str + CERT_PREFIX_STR_LENGTH + caName.len) = '\0';
res = mCertificateAuthorityDisplay->SetAttribute( NS_ConvertASCIItoUCS2("value"), NS_ConvertASCIItoUCS2(str) );
res = mCertificateAuthorityDisplay->SetAttribute( NS_ConvertASCIItoUCS2("tooltiptext"), NS_ConvertASCIItoUCS2(str) );
nsMemory::Free(str);
}
}

View File

@ -504,7 +504,7 @@ END of Deprecated -->
<statusbarpanel id="statusbar-display" value="&statusText.label;" crop="right" flex="1"/>
<spring flex="2"/>
<statusbarpanel id="certificate-authority"/>
<statusbarpanel id="security-button"/>
<statusbarpanel id="security-button"/> <!-- tooltip="aTooltip"/-->
</statusbar>
</overlay>