Bug 520165 - Part 9 (Migration): fix dependancies, r=dietrich

This commit is contained in:
Marco Bonardo 2010-01-15 17:40:24 +01:00
parent 06666f333d
commit be7137c1c9
4 changed files with 1 additions and 12 deletions

View File

@ -422,7 +422,6 @@ nsDogbertProfileMigrator::PrefTransform gTransforms[] = {
{ "browser.wfe.use_windows_colors", "browser.display.use_system_colors", F(GetBool), F(SetBool), PR_FALSE, { -1 } },
{ "browser.use_document_colors", "browser.display.use_document_colors",F(GetBool), F(SetBool), PR_FALSE, { -1 } },
{ "browser.use_document.fonts", "browser.display.use_document_fonts", F(GetInt), F(SetInt), PR_FALSE, { -1 } },
{ "browser.link_expiration", "browser.history_expire_days", F(GetInt), F(SetInt), PR_FALSE, { -1 } },
{ "browser.startup.page", "browser.startup.homepage", F(GetHomepage), F(SetWStringFromASCII), PR_FALSE, { -1 } },
{ "general.always_load_images", "permissions.default.image", F(GetImagePref),F(SetInt), PR_FALSE, { -1 } },
};

View File

@ -378,10 +378,6 @@ const regEntry gRegEntries[] = {
"network.http.proxy.version",
TranslateDWORDtoHTTPVersion },
// SecureProtocols
{ "Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Url History",
"DaysToKeep",
"browser.history_expire_days",
TranslateDWORDtoPRInt32 },
{ "Software\\Microsoft\\Internet Explorer\\Settings",
"Always Use My Colors", // XXX DWORD
"browser.display.use_document_colors",
@ -405,11 +401,7 @@ const regEntry gRegEntries[] = {
{ 0,
"Always Use My Font Face", // XXX DWORD
"browser.display.use_document_fonts",
TranslateYNtoFT },
{ "Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Url History",
"DaysToKeep",
"browser.history_expire_days",
TranslateDWORDtoPRInt32 }
TranslateYNtoFT }
};
#if 0

View File

@ -327,7 +327,6 @@ nsOperaProfileMigrator::PrefTransform gTransforms[] = {
{ "Visited link", nsnull, _OPM(COLOR), "browser.visited_color", _OPM(SetString), PR_FALSE, { -1 } },
{ "Link", nsnull, _OPM(COLOR), "browser.anchor_color", _OPM(SetString), PR_FALSE, { -1 } },
{ nsnull, "Underline", _OPM(BOOL), "browser.underline_anchors", _OPM(SetBool), PR_FALSE, { -1 } },
{ nsnull, "Expiry", _OPM(INT), "browser.history_expire_days", _OPM(SetInt), PR_FALSE, { -1 } },
{ "Security Prefs", "Enable SSL v2", _OPM(BOOL), "security.enable_ssl2", _OPM(SetBool), PR_FALSE, { -1 } },
{ nsnull, "Enable SSL v3", _OPM(BOOL), "security.enable_ssl3", _OPM(SetBool), PR_FALSE, { -1 } },

View File

@ -349,7 +349,6 @@ nsSeamonkeyProfileMigrator::FillProfileDataFromSeamonkeyRegistry()
static
nsSeamonkeyProfileMigrator::PrefTransform gTransforms[] = {
MAKESAMETYPEPREFTRANSFORM("signon.SignonFileName", String),
MAKESAMETYPEPREFTRANSFORM("browser.history_expire_days", Int),
MAKESAMETYPEPREFTRANSFORM("browser.tabs.autoHide", Bool),
MAKESAMETYPEPREFTRANSFORM("browser.tabs.loadInBackground", Bool),
MAKESAMETYPEPREFTRANSFORM("browser.enable_automatic_image_resizing", Bool),