aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am13
-rw-r--r--data/default-prefs-common.js (renamed from data/default-prefs.js)3
-rw-r--r--data/default-prefs-mozilla.js0
-rw-r--r--data/default-prefs-toolkit.js6
4 files changed, 21 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index f4df83595..8831088e1 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -4,7 +4,16 @@ SUBDIRS = ui art glade
@INTLTOOL_DESKTOP_RULE@
@INTLTOOL_SCHEMAS_RULE@
-dist_pkgdata_DATA = default-prefs.js
+default_prefs_in_FILES = \
+ default-prefs-common.js \
+ default-prefs-mozilla.js \
+ default-prefs-toolkit.js
+
+default-prefs.js: $(default_prefs_in_FILES)
+ cat $(srcdir)/default-prefs-common.js $(srcdir)/default-prefs-$(MOZILLA_FLAVOUR).js > $(top_builddir)/$(subdir)/default-prefs.js
+
+default_prefsdir = $(pkgdatadir)
+default_prefs_DATA = default-prefs.js
server_in_files = GNOME_Epiphany_Automation.server.in
server_DATA = GNOME_Epiphany_Automation.server
@@ -53,6 +62,7 @@ EXTRA_DIST = \
$(mimepermission_DATA) \
$(extensionschema_DATA) \
$(pkgconfig_DATA) \
+ $(default_prefs_in_FILES) \
check-mime.py
DISTCLEANFILES = \
@@ -60,4 +70,5 @@ DISTCLEANFILES = \
$(Applications_DATA) \
$(schema_DATA) \
$(pkgconfig_DATA) \
+ $(default_prefs_DATA) \
$(DESKTOP_FILES)
diff --git a/data/default-prefs.js b/data/default-prefs-common.js
index ee659f03a..3586f757f 100644
--- a/data/default-prefs.js
+++ b/data/default-prefs-common.js
@@ -85,3 +85,6 @@ pref("network.protocol-handler.external.webcal", true);
// disable xpinstall
pref("xpinstall.enabled", false);
+// enable typeahead find
+pref("accessibility.typeaheadfind", true);
+
diff --git a/data/default-prefs-mozilla.js b/data/default-prefs-mozilla.js
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/data/default-prefs-mozilla.js
diff --git a/data/default-prefs-toolkit.js b/data/default-prefs-toolkit.js
new file mode 100644
index 000000000..b1a1db7e0
--- /dev/null
+++ b/data/default-prefs-toolkit.js
@@ -0,0 +1,6 @@
+// enable plugin finder
+pref("plugin.default_plugin_disabled", true);
+
+// enable locale matching
+pref("intl.locale.matchOS", true);
+