mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
Removed the bogus file-extension-as-image-type text from the title. b=47891 r=dcone sr=buster
This commit is contained in:
parent
9f3e15aaf5
commit
5fbed3e0c0
@ -375,6 +375,7 @@ nsresult nsImageDocument::UpdateTitle( void )
|
||||
{
|
||||
nsString titleStr;
|
||||
|
||||
#ifdef USE_EXTENSION_FOR_TYPE
|
||||
// XXX TEMPORARY XXX
|
||||
// We want to display the image type, however there is no way to right now
|
||||
// so instead we just get the image-extension
|
||||
@ -393,6 +394,8 @@ nsresult nsImageDocument::UpdateTitle( void )
|
||||
}
|
||||
NS_IF_RELEASE(pURL);
|
||||
}
|
||||
#endif
|
||||
|
||||
// append the image information...
|
||||
titleStr.AppendWithConversion( " Image" );
|
||||
if (mImageRequest) {
|
||||
|
@ -375,6 +375,7 @@ nsresult nsImageDocument::UpdateTitle( void )
|
||||
{
|
||||
nsString titleStr;
|
||||
|
||||
#ifdef USE_EXTENSION_FOR_TYPE
|
||||
// XXX TEMPORARY XXX
|
||||
// We want to display the image type, however there is no way to right now
|
||||
// so instead we just get the image-extension
|
||||
@ -393,6 +394,8 @@ nsresult nsImageDocument::UpdateTitle( void )
|
||||
}
|
||||
NS_IF_RELEASE(pURL);
|
||||
}
|
||||
#endif
|
||||
|
||||
// append the image information...
|
||||
titleStr.AppendWithConversion( " Image" );
|
||||
if (mImageRequest) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user