mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-12 23:12:21 +00:00
Bug 302000 - browser.search.order.* doesn't work with searchplugins stored in profile. patch from O. Atsushi (Torisugari) <torisugari@gmail.com>, r=bsmedberg, sr=neil.
This commit is contained in:
parent
d816baa3e3
commit
8798f5769f
@ -1003,6 +1003,10 @@ InternetSearchDataSource::DeferredInit()
|
||||
GetSearchEngineList(dir, PR_FALSE);
|
||||
}
|
||||
}
|
||||
#ifdef MOZ_PHOENIX
|
||||
if (!gReorderedEngineList)
|
||||
ReorderEngineList();
|
||||
#endif
|
||||
}
|
||||
|
||||
// read in category list
|
||||
@ -4441,10 +4445,6 @@ InternetSearchDataSource::GetSearchEngineList(nsIFile *searchDir,
|
||||
SaveEngineInfoIntoGraph(dirEntry, iconFile, nsnull, nsnull, isSystemSearchFile);
|
||||
}
|
||||
|
||||
#ifdef MOZ_PHOENIX
|
||||
if (!gReorderedEngineList)
|
||||
ReorderEngineList();
|
||||
#endif
|
||||
return(rv);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user