Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-10-25 20:40:57 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-10-25 20:40:57 (GMT)
commit22cecec21eb6103cdce9cd1cfa8ed1b449f8b412 (patch)
treef8a0e4f80bcc42b2b8a242fc1ba0539538ef6c7f /lib
parentc29ec892ac6d51e6f1a03d9a7693e3039e59bc21 (diff)
Add some comments, add some prefs from epiphany configuration
Diffstat (limited to 'lib')
-rw-r--r--lib/data/Makefile.am2
-rw-r--r--lib/data/gecko-prefs.js20
2 files changed, 20 insertions, 2 deletions
diff --git a/lib/data/Makefile.am b/lib/data/Makefile.am
index a31043f..f850cfd 100644
--- a/lib/data/Makefile.am
+++ b/lib/data/Makefile.am
@@ -1,4 +1,4 @@
geckoconfdir = $(pkgdatadir)
geckoconf_DATA = gecko-prefs.js
-EXTRA_DIST = $(confgecko_DATA)
+EXTRA_DIST = $(geckoconf_DATA)
diff --git a/lib/data/gecko-prefs.js b/lib/data/gecko-prefs.js
index 114300a..ad2563d 100644
--- a/lib/data/gecko-prefs.js
+++ b/lib/data/gecko-prefs.js
@@ -1,12 +1,25 @@
+// Disable onload popups
user_pref("dom.disable_open_during_load", true);
-user_pref("network.cookie.prefsMigrated", true);
+
+// 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);
+
+