diff options
author | Xan Lopez <xlopez@igalia.com> | 2011-05-23 20:26:10 +0800 |
---|---|---|
committer | Xan Lopez <xlopez@igalia.com> | 2011-05-23 20:26:46 +0800 |
commit | 3f84b79bfa35911bdfe3a196b042a278c4486e42 (patch) | |
tree | dd514ac48b12ce5bdb76a29bf2e94f7ae9aaf678 /src | |
parent | 243e5e4985626aa44bfd0b74d17c478a4402e851 (diff) | |
download | gsoc2013-epiphany-3f84b79bfa35911bdfe3a196b042a278c4486e42.tar gsoc2013-epiphany-3f84b79bfa35911bdfe3a196b042a278c4486e42.tar.gz gsoc2013-epiphany-3f84b79bfa35911bdfe3a196b042a278c4486e42.tar.bz2 gsoc2013-epiphany-3f84b79bfa35911bdfe3a196b042a278c4486e42.tar.lz gsoc2013-epiphany-3f84b79bfa35911bdfe3a196b042a278c4486e42.tar.xz gsoc2013-epiphany-3f84b79bfa35911bdfe3a196b042a278c4486e42.tar.zst gsoc2013-epiphany-3f84b79bfa35911bdfe3a196b042a278c4486e42.zip |
Add optional spell checking, enabled by default
Depends on WebKitGTK+ being built with spell check support, otherwise
it won't do anything.
Based on a patch by Diego Escalante.
Diffstat (limited to 'src')
-rw-r--r-- | src/prefs-dialog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index 1cc393671..d7c80ecf3 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -1024,6 +1024,9 @@ static const PrefsDialogPreference preferences[] = { "css_edit_button", "sensitive", EPHY_PREFS_WEB_SCHEMA, EPHY_PREFS_WEB_ENABLE_USER_CSS, G_SETTINGS_BIND_GET, NULL, NULL }, + { "enable_spell_checking_checkbutton", "active", + EPHY_PREFS_WEB_SCHEMA, EPHY_PREFS_WEB_ENABLE_SPELL_CHECKING, + G_SETTINGS_BIND_DEFAULT, NULL, NULL }, /* Font buttons */ { "custom_fonts_table", "sensitive", |