diff --git a/browser/components/preferences/general.js b/browser/components/preferences/general.js index 25cfa577153e..59b199d4c00a 100644 --- a/browser/components/preferences/general.js +++ b/browser/components/preferences/general.js @@ -72,7 +72,11 @@ var gGeneralPane = { setHomePageToBookmark: function () { var rv = { url: null }; +#ifdef MOZ_PLACES document.documentElement.openSubDialog("chrome://browser/content/preferences/selectBookmark.xul", +#else + document.documentElement.openSubDialog("chrome://browser/content/bookmarks/selectBookmark.xul", +#endif "resizable", rv); if (rv.url) { var homePageField = document.getElementById("browserStartupHomepage"); diff --git a/browser/components/preferences/jar.mn b/browser/components/preferences/jar.mn index 8f00a1cb4656..32d822a53c43 100644 --- a/browser/components/preferences/jar.mn +++ b/browser/components/preferences/jar.mn @@ -30,7 +30,9 @@ browser.jar: * content/browser/preferences/privacy.js * content/browser/preferences/sanitize.xul * content/browser/preferences/sanitize.js +#ifdef MOZ_PLACES * content/browser/preferences/selectBookmark.xul * content/browser/preferences/selectBookmark.js +#endif * content/browser/preferences/tabs.xul * content/browser/preferences/tabs.js