Fix for status bar not appearing in a navigator window when
Aurora is initially collapsed. (An SF1 In bug.) git-svn-id: svn://10.0.0.236/trunk@3566 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -284,14 +284,7 @@ int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
|
||||
// appropriate) we can create the url bar. The animation
|
||||
// might need custom colors so we need the palette to be around
|
||||
//
|
||||
CreateMainToolbar();
|
||||
|
||||
if (!theApp.m_bInGetCriticalFiles) { // if we are here, don't show link bar
|
||||
CreateLocationBar();
|
||||
CreateLinkBar();
|
||||
GetChrome()->FinishedAddingBrowserToolbars();
|
||||
}
|
||||
|
||||
|
||||
LPNSSTATUSBAR pIStatusBar = NULL;
|
||||
GetChrome()->QueryInterface( IID_INSStatusBar, (LPVOID *) &pIStatusBar );
|
||||
if( pIStatusBar )
|
||||
@@ -302,6 +295,14 @@ int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
|
||||
pIStatusBar->Show(FALSE);
|
||||
}
|
||||
|
||||
CreateMainToolbar();
|
||||
|
||||
if (!theApp.m_bInGetCriticalFiles) { // if we are here, don't show link bar
|
||||
CreateLocationBar();
|
||||
CreateLinkBar();
|
||||
GetChrome()->FinishedAddingBrowserToolbars();
|
||||
}
|
||||
|
||||
if(!IsEditFrame())
|
||||
{
|
||||
AddToMenuMap(FILEMENU, IDM_MAINFRAMEFILEMENU);
|
||||
|
||||
Reference in New Issue
Block a user