r=pedemonte,sr=blizzard (platform specific), a=mkaply
Take a patch from nsNativeAppSupportWin so multiple firebird windows work


git-svn-id: svn://10.0.0.236/trunk@149745 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkaply%us.ibm.com
2003-11-25 22:38:39 +00:00
parent 3543f996ad
commit 1fbb73d8c5

View File

@@ -2313,8 +2313,15 @@ nsNativeAppSupportOS2::OpenBrowserWindow( const char *args, PRBool newWindow ) {
return NS_OK;
} while ( PR_FALSE );
nsCOMPtr<nsICmdLineHandler> handler(do_GetService("@mozilla.org/commandlinehandler/general-startup;1?type=browser", &rv));
if (NS_FAILED(rv)) return rv;
nsXPIDLCString chromeUrlForTask;
rv = handler->GetChromeUrlForTask(getter_Copies(chromeUrlForTask));
if (NS_FAILED(rv)) return rv;
// Last resort is to open a brand new window.
return OpenWindow( "chrome://navigator/content", args );
return OpenWindow( chromeUrlForTask, args );
}
// This opens a special browser window for purposes of priming the pump for