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
Родитель baf7a78986
Коммит 7c844fd893
1 изменённых файлов: 21 добавлений и 1 удалений

Просмотреть файл

@ -1404,9 +1404,12 @@ BOOL CInterpret::interpret(CString cmds, WIDGET *curWidget)
((CPrefEditView*)w->control)->SetFocus(); ((CPrefEditView*)w->control)->SetFocus();
} }
else if (strcmp(pcmd, "CheckHomePageURL") == 0) else if (strcmp(pcmd, "CheckCustPage1Settings") == 0)
{ {
CString str; CString str;
// check home page url settings
str = GetGlobal("HomePageURL"); str = GetGlobal("HomePageURL");
// if URL is set (and not the default string), don't show recapture dlg) // 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("ShowHomepageOption","TRUE");
SetGlobal("RecaptureHomepage","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) else if (strcmp(pcmd, "SynchHomeURLLockRemote") == 0)