зеркало из https://github.com/mozilla/gecko-dev.git
fix for bug #32294 - the animated logo url is obtained from the chrome if http:// is missing - therefore the installer checks for it and if missing inserts it
This commit is contained in:
Родитель
56a2016ca3
Коммит
0b749428b9
|
@ -629,7 +629,19 @@ int StartIB(CString parms, WIDGET *curWidget)
|
|||
CString cdDir= GetGlobal("CD image");
|
||||
CString networkDir = GetGlobal("Network");
|
||||
CString ftpLocation = GetGlobal("FTPLocation");
|
||||
//checking to see if the AnimatedLogoURL has a http:// appended in front of it
|
||||
//if not then we have to append it;
|
||||
|
||||
CString animLogoUrl = GetGlobal("AnimatedLogoURL");
|
||||
CString leftvalue = animLogoUrl.Left(7);
|
||||
CString httpvalue = "http://";
|
||||
if (leftvalue.CompareNoCase("http://") != 0)
|
||||
{
|
||||
httpvalue = httpvalue + animLogoUrl;
|
||||
SetGlobal("AnimatedLogoURL",httpvalue);
|
||||
}
|
||||
|
||||
|
||||
if (cdDir.Compare("1") ==0)
|
||||
{
|
||||
_mkdir((char *)(LPCTSTR) cdPath);
|
||||
|
|
|
@ -9,3 +9,4 @@ replaceXPI(browser.xpi,bin/defaults/profile/bookmarks.html,%CustomBookmarkFile%)
|
|||
modifyDTD(browser.xpi,bin/chrome/navigator/locale/en-US/navigator.dtd,mainWindow.titlemodifier,%CompanyName%)
|
||||
modifyDTD(browser.xpi,bin/chrome/navigator/locale/en-US/navigator.dtd,throbber.url,%AnimatedLogoURL%)
|
||||
modifyJS(browser.xpi,bin/defaults/pref/all-ns.js,browser.startup.homepage,%HomePageURL%)
|
||||
modifyJS(browser.xpi,bin/defaults/pref/all-ns.js,browser.throbber.url,%AnimatedLogoURL%)
|
||||
|
|
Загрузка…
Ссылка в новой задаче