aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorPhilippe Normand <philn@igalia.com>2012-08-02 18:37:02 +0800
committerPhilippe Normand <phil@base-art.net>2012-08-02 18:37:02 +0800
commit85ae7a5cbb8e0ea22e149041b278bf8d031dabe9 (patch)
tree07fb3181e4a63e0010e50eae795424d3a465f322 /embed
parent8a38c7a9ba0238092edc4e398ca7635bb4392c5f (diff)
downloadgsoc2013-epiphany-85ae7a5cbb8e0ea22e149041b278bf8d031dabe9.tar
gsoc2013-epiphany-85ae7a5cbb8e0ea22e149041b278bf8d031dabe9.tar.gz
gsoc2013-epiphany-85ae7a5cbb8e0ea22e149041b278bf8d031dabe9.tar.bz2
gsoc2013-epiphany-85ae7a5cbb8e0ea22e149041b278bf8d031dabe9.tar.lz
gsoc2013-epiphany-85ae7a5cbb8e0ea22e149041b278bf8d031dabe9.tar.xz
gsoc2013-epiphany-85ae7a5cbb8e0ea22e149041b278bf8d031dabe9.tar.zst
gsoc2013-epiphany-85ae7a5cbb8e0ea22e149041b278bf8d031dabe9.zip
Settings: add a enable-webaudio setting.
WebAudio support in WebKitGTK is not stable yet but it would be good to allow Epiphany users to test this feature nonetheless. The enable-webaudio gsetting is set to false by default.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-prefs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c
index 26a45ac7f..86d9d94f3 100644
--- a/embed/ephy-embed-prefs.c
+++ b/embed/ephy-embed-prefs.c
@@ -674,6 +674,10 @@ ephy_embed_prefs_init (void)
EPHY_PREFS_WEB_ENABLE_WEBGL,
webkit_settings, "enable-webgl",
G_SETTINGS_BIND_GET);
+ g_settings_bind (EPHY_SETTINGS_WEB,
+ EPHY_PREFS_WEB_ENABLE_WEBAUDIO,
+ webkit_settings, "enable-webaudio",
+ G_SETTINGS_BIND_GET);
}
void