From af2f1a56679916c408e842091bee53323914ae2c Mon Sep 17 00:00:00 2001 From: "shrutiv%netscape.com" Date: Thu, 29 Nov 2001 22:29:53 +0000 Subject: [PATCH] Fix for bugzilla 101439: Custom configs should point to it's own files (r=smeredith) git-svn-id: svn://10.0.0.236/trunk@109250 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cck/wizard/wizard.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/mozilla/cck/wizard/wizard.cpp b/mozilla/cck/wizard/wizard.cpp index 291eee1ee34..f63f4362d20 100644 --- a/mozilla/cck/wizard/wizard.cpp +++ b/mozilla/cck/wizard/wizard.cpp @@ -72,7 +72,16 @@ BOOL Config(CString globalsName, CString DialogTitle, WIDGET* curWidget) SetGlobal(globalsName, configField); SetGlobal(targetWid, configField); - + + // Making custom config point to files in its own workspace + SetGlobal("LargeAnimPath", newDir + "\\Workspace\\AnimLogo\\animlogo32.gif"); + SetGlobal("LargeStillPath", newDir + "\\Workspace\\AnimLogo\\staticlogo32.gif"); + SetGlobal("ReadMeFile", newDir + "\\Workspace\\readme.txt"); + SetGlobal("SidebarPath", newDir + "\\Workspace\\Sidebar\\panels.rdf"); + SetGlobal("CustomBookmarkFile", newDir + "\\Workspace\\Bkmarks\\bookmarks.html"); + SetGlobal("ShellBgBitmap", newDir + "\\Workspace\\Autorun\\Shell\\bmps\\install.bmp"); + SetGlobal("ShellInstallTextFile", newDir + "\\Workspace\\Autorun\\install.txt"); + IsSameCache = FALSE; return TRUE;