Fixing bug in Default Browser dialog's Details... button processing

git-svn-id: svn://10.0.0.236/trunk@8056 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
law%netscape.com
1998-08-15 01:01:32 +00:00
parent 963a66acfb
commit bbea53da38
2 changed files with 2 additions and 1 deletions

View File

@@ -1210,7 +1210,7 @@ BOOL CNetscapeApp::InitInstance()
{
// only show splash if not embedded
m_splash.Create(NULL);
#if !defined(DEBUG_chouck) && !defined(DEBUG_warren) && !defined(DEBUG_phil) && !defined(DEBUG_hyatt) && !defined(DEBUG_hshaw) && !defined(DEBUG_law)
#if !defined(DEBUG_chouck) && !defined(DEBUG_warren) && !defined(DEBUG_phil) && !defined(DEBUG_hyatt) && !defined(DEBUG_hshaw)
m_splash.ShowWindow(SW_SHOW);
#endif
m_splash.UpdateWindow();

View File

@@ -666,6 +666,7 @@ void CNetscapeApp::MakeDefaultBrowser()
// Ask if "default browser" dialog is required and display it if so.
if ( !pDefaultBrowser->IsDefaultBrowser() ) {
if ( pDefaultBrowser->DisplayDialog() == IDC_SHOW_DESKTOP_PREFS ) {
theApp.m_splash.ShowWindow(SW_HIDE);
wfe_DisplayPreferences(NULL);
}
}