From 3f84b79bfa35911bdfe3a196b042a278c4486e42 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Mon, 23 May 2011 14:26:10 +0200 Subject: 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. --- src/prefs-dialog.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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", -- cgit v1.2.3