xulrunner/app/xulrunner.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xulrunner/app/xulrunner.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#filter substitution
     1.9 +
    1.10 +// We need to override the default values of these preferences since all.js
    1.11 +// assumes these are in the navigator package, which for us is nonexistent.
    1.12 +// XXX(darin): perhaps all.js should not be seamonkey specific
    1.13 +pref("general.useragent.locale", "@AB_CD@");
    1.14 +pref("xpinstall.dialog.confirm", "chrome://mozapps/content/xpinstall/xpinstallConfirm.xul");
    1.15 +pref("xpinstall.dialog.progress.chrome", "chrome://mozapps/content/extensions/extensions.xul");
    1.16 +pref("xpinstall.dialog.progress.skin", "chrome://mozapps/content/extensions/extensions.xul");
    1.17 +pref("xpinstall.dialog.progress.type.chrome", "Extension:Manager");
    1.18 +pref("xpinstall.dialog.progress.type.skin", "Extension:Manager");
    1.19 +pref("xpinstall.enabled", true);
    1.20 +#ifdef XP_WIN
    1.21 +pref("browser.preferences.instantApply", false);
    1.22 +#else
    1.23 +pref("browser.preferences.instantApply", true);
    1.24 +#endif
    1.25 +#ifdef XP_MACOSX
    1.26 +pref("browser.preferences.animateFadeIn", true);
    1.27 +#else
    1.28 +pref("browser.preferences.animateFadeIn", false);
    1.29 +#endif

mercurial