New splash screen stuff for windows version (plus removal of console from windows release builds); b=6391/22542, r=davidm@netscape.com (travis@netscape.com for the console stuff)
git-svn-id: svn://10.0.0.236/trunk@59770 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1398,6 +1398,15 @@ nsWebShellWindow::Show(PRBool aShow)
|
||||
{
|
||||
windowMediator->UpdateWindowTimeStamp( this );
|
||||
}
|
||||
// Hide splash screen (if there is one).
|
||||
static PRBool splashScreenGone = PR_FALSE;
|
||||
if ( !splashScreenGone ) {
|
||||
NS_WITH_SERVICE(nsIAppShellService, appShellService, kAppShellServiceCID, &rv);
|
||||
if ( NS_SUCCEEDED(rv) && appShellService ) {
|
||||
appShellService->HideSplashScreen();
|
||||
}
|
||||
splashScreenGone = PR_TRUE;
|
||||
}
|
||||
mDebuting = PR_FALSE;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user