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:
law%netscape.com
2000-02-04 14:40:08 +00:00
parent b7fa516b57
commit b605d3dfbe
7 changed files with 179 additions and 60 deletions

View File

@@ -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;
}