Fix for bug 13653: Need to add turbo pref (default to OFF) (r=smeredith)

This commit is contained in:
shrutiv%netscape.com 2002-05-17 03:30:49 +00:00
parent 610ab07135
commit 2d07234c6b

View File

@ -1404,9 +1404,12 @@ BOOL CInterpret::interpret(CString cmds, WIDGET *curWidget)
((CPrefEditView*)w->control)->SetFocus();
}
else if (strcmp(pcmd, "CheckHomePageURL") == 0)
else if (strcmp(pcmd, "CheckCustPage1Settings") == 0)
{
CString str;
// check home page url settings
str = GetGlobal("HomePageURL");
// if URL is set (and not the default string), don't show recapture dlg)
@ -1420,6 +1423,23 @@ BOOL CInterpret::interpret(CString cmds, WIDGET *curWidget)
SetGlobal("ShowHomepageOption","TRUE");
SetGlobal("RecaptureHomepage","TRUE");
}
// check quicklaunch settings
str = GetGlobal("QuickLauncher");
if (str[0] == '1')
{
SetGlobal("QuicklaunchDialog","TRUE");
SetGlobal("QuicklaunchEnabled","TRUE");
}
else
{
SetGlobal("QuicklaunchDialog","FALSE");
SetGlobal("QuicklaunchEnabled","FALSE");
}
}
else if (strcmp(pcmd, "SynchHomeURLLockRemote") == 0)