Add some comments, add some prefs from epiphany configuration

This commit is contained in:
Marco Pesenti Gritti 2006-10-25 22:40:57 +02:00
parent c29ec892ac
commit 22cecec21e
2 changed files with 21 additions and 3 deletions

View File

@ -1,4 +1,4 @@
geckoconfdir = $(pkgdatadir)
geckoconf_DATA = gecko-prefs.js
EXTRA_DIST = $(confgecko_DATA)
EXTRA_DIST = $(geckoconf_DATA)

View File

@ -1,12 +1,25 @@
// Disable onload popups
user_pref("dom.disable_open_during_load", true);
user_pref("network.cookie.prefsMigrated", true);
user_pref("security.warn_submit_insecure", false);
// Disable usless security warnings
user_pref("security.warn_entering_secure", false);
user_pref("security.warn_entering_secure.show_once", true);
user_pref("security.warn_leaving_secure", false);
user_pref("security.warn_leaving_secure.show_once", false);
user_pref("security.warn_submit_insecure", false);
user_pref("security.warn_submit_insecure.show_once", false);
user_pref("security.warn_viewing_mixed", true);
user_pref("security.warn_viewing_mixed.show_once", false);
user_pref("security.warn_entering_weak", true);
user_pref("security.warn_entering_weak.show_once", false);
// Set some style properties to not follow our dark gtk theme
user_pref("ui.-moz-field", "#FFFFFF");
user_pref("ui.-moz-fieldtext", "#000000");
user_pref("ui.buttonface", "#D3D3DD");
user_pref("ui.buttontext", "#000000");
// Define our font size in points (to adapt to resolution)
user_pref("font.size.unit", "pt");
user_pref("font.size.variable.ar", 12);
@ -86,3 +99,8 @@ user_pref("font.size.fixed.zh-TW", 12);
user_pref("font.size.variable.zh-HK", 12);
user_pref("font.size.fixed.zh-HK", 12);
// Enable error pages (xulrunner is missing this pref)
pref("browser.xul.error_pages.enabled", true);