diff options
author | Martin Robinson <mrobinson@igalia.com> | 2012-02-03 03:47:34 +0800 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2012-02-03 03:47:34 +0800 |
commit | 98ad801a50d8a7f470678bdb86f9eb57dd009ee5 (patch) | |
tree | 28965a6a0173eb52f426576b2bd0329942fc4e61 /embed/ephy-embed-prefs.c | |
parent | 9ead439a12282b6182da3e7c81f4df46a3a6270d (diff) | |
download | gsoc2013-epiphany-98ad801a50d8a7f470678bdb86f9eb57dd009ee5.tar gsoc2013-epiphany-98ad801a50d8a7f470678bdb86f9eb57dd009ee5.tar.gz gsoc2013-epiphany-98ad801a50d8a7f470678bdb86f9eb57dd009ee5.tar.bz2 gsoc2013-epiphany-98ad801a50d8a7f470678bdb86f9eb57dd009ee5.tar.lz gsoc2013-epiphany-98ad801a50d8a7f470678bdb86f9eb57dd009ee5.tar.xz gsoc2013-epiphany-98ad801a50d8a7f470678bdb86f9eb57dd009ee5.tar.zst gsoc2013-epiphany-98ad801a50d8a7f470678bdb86f9eb57dd009ee5.zip |
Allow toggling WebGL as a runtime GSettings switch
If WebGL is enabled in WebKitGTK+, this new GSettings switch
disables and enables WebGL settings at runtime. WebGL is disabled
by default currently because Epiphany may use Clutter in the future.
Diffstat (limited to 'embed/ephy-embed-prefs.c')
-rw-r--r-- | embed/ephy-embed-prefs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c index 4f9b3686b..b1073e385 100644 --- a/embed/ephy-embed-prefs.c +++ b/embed/ephy-embed-prefs.c @@ -529,6 +529,10 @@ ephy_embed_prefs_init (void) EPHY_PREFS_WEB_DEFAULT_ENCODING, webkit_settings, "default-encoding", G_SETTINGS_BIND_GET); + g_settings_bind (EPHY_SETTINGS_WEB, + EPHY_PREFS_WEB_ENABLE_WEBGL, + webkit_settings, "enable-webgl", + G_SETTINGS_BIND_GET); } void |