aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-04-28 15:50:46 +0800
committerXan Lopez <xan@gnome.org>2009-04-28 16:45:24 +0800
commitf524d8dbcb85cdcbb7fc1fa309f9a893ef616458 (patch)
treea27c5d09fc2619d030408206ce879f45c43b0244 /embed
parentdcae8dfd69b1052907b94fc300537a20999938dc (diff)
downloadgsoc2013-epiphany-f524d8dbcb85cdcbb7fc1fa309f9a893ef616458.tar
gsoc2013-epiphany-f524d8dbcb85cdcbb7fc1fa309f9a893ef616458.tar.gz
gsoc2013-epiphany-f524d8dbcb85cdcbb7fc1fa309f9a893ef616458.tar.bz2
gsoc2013-epiphany-f524d8dbcb85cdcbb7fc1fa309f9a893ef616458.tar.lz
gsoc2013-epiphany-f524d8dbcb85cdcbb7fc1fa309f9a893ef616458.tar.xz
gsoc2013-epiphany-f524d8dbcb85cdcbb7fc1fa309f9a893ef616458.tar.zst
gsoc2013-epiphany-f524d8dbcb85cdcbb7fc1fa309f9a893ef616458.zip
Implement caret browsing mode (bug #562621)
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-prefs.h1
-rw-r--r--embed/webkit/webkit-embed-prefs.c5
2 files changed, 5 insertions, 1 deletions
diff --git a/embed/ephy-embed-prefs.h b/embed/ephy-embed-prefs.h
index c78fe2fdb..3bfc0342c 100644
--- a/embed/ephy-embed-prefs.h
+++ b/embed/ephy-embed-prefs.h
@@ -16,6 +16,7 @@
#define CONF_IMAGE_LOADING_MODE "/apps/epiphany/web/image_loading"
#define CONF_DISPLAY_SMOOTHSCROLL "/apps/epiphany/web/smooth_scroll"
#define CONF_WEB_INSPECTOR_ENABLED "/apps/epiphany/web/inspector_enabled"
+#define CONF_CARET_BROWSING_ENABLED "/apps/epiphany/web/browse_with_caret"
/* These are defined gnome wide now */
#define CONF_NETWORK_PROXY_MODE "/system/proxy/mode"
diff --git a/embed/webkit/webkit-embed-prefs.c b/embed/webkit/webkit-embed-prefs.c
index e9193be34..df0eeaa93 100644
--- a/embed/webkit/webkit-embed-prefs.c
+++ b/embed/webkit/webkit-embed-prefs.c
@@ -188,7 +188,10 @@ static const PrefData webkit_pref_entries[] =
webkit_pref_callback_boolean },
{ CONF_USER_CSS_ENABLED,
"user-stylesheet-uri",
- webkit_pref_callback_user_stylesheet }
+ webkit_pref_callback_user_stylesheet },
+ { CONF_CARET_BROWSING_ENABLED,
+ "enable-caret-browsing",
+ webkit_pref_callback_boolean }
};
static void