From 2d07234c6b846035a6dceaa9f08b34a40b0ac7da Mon Sep 17 00:00:00 2001 From: "shrutiv%netscape.com" Date: Fri, 17 May 2002 03:30:49 +0000 Subject: [PATCH] Fix for bug 13653: Need to add turbo pref (default to OFF) (r=smeredith) --- cck/driver/interpret.cpp | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/cck/driver/interpret.cpp b/cck/driver/interpret.cpp index 93a6028e7579..7e051def9325 100644 --- a/cck/driver/interpret.cpp +++ b/cck/driver/interpret.cpp @@ -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)