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:
mozilla.mano%sent.com 2005-10-17 11:27:25 +00:00
parent d816baa3e3
commit 8798f5769f

View File

@ -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);
}