зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bugscape 10911: Allow removal of AOL desktop icon (r=tao)
This commit is contained in:
Родитель
7550ac6b77
Коммит
cfde953c9f
|
@ -60,6 +60,9 @@ int BuildComponentList(COMPONENT *comps, int *compNum, CString iniSrcPath,
|
|||
GetPrivateProfileString(component, "Attributes", "",
|
||||
attr, MAX_SIZE, iniSrcPath);
|
||||
|
||||
if (strcmp(component, "Component AOD") == 0)
|
||||
strcpy(attr, "SELECTED");
|
||||
|
||||
comps[*compNum].archive = CString(archive);
|
||||
comps[*compNum].compname = component;
|
||||
comps[*compNum].name = CString(name);
|
||||
|
|
|
@ -966,13 +966,17 @@ void invisible()
|
|||
WritePrivateProfileString(Components[i].compname, "Attributes",
|
||||
"UNSELECTED|ADDITIONAL|FORCE_UPGRADE", iniDstPath);
|
||||
else if (!(Components[i].disabled) && !(Components[i].additional) &&
|
||||
!(Components[i].invisible))
|
||||
Components[i].forceupgrade && !(Components[i].invisible))
|
||||
WritePrivateProfileString(Components[i].compname, "Attributes",
|
||||
"SELECTED|FORCE_UPGRADE", iniDstPath);
|
||||
else if (Components[i].additional && Components[i].launchapp &&
|
||||
Components[i].uncompress && !(Components[i].invisible))
|
||||
WritePrivateProfileString(Components[i].compname, "Attributes",
|
||||
"SELECTED|UNCOMPRESS|LAUNCHAPP|ADDITIONAL", iniDstPath);
|
||||
else if (!(Components[i].additional) &&
|
||||
!(Components[i].forceupgrade) && !(Components[i].invisible))
|
||||
WritePrivateProfileString(Components[i].compname, "Attributes",
|
||||
"SELECTED|INVISIBLE", iniDstPath);
|
||||
componentOrder++;
|
||||
}
|
||||
else
|
||||
|
|
Загрузка…
Ссылка в новой задаче