[epiphany] Implement caret browsing mode (bug #562621)



commit f524d8dbcb85cdcbb7fc1fa309f9a893ef616458
Author: Xan Lopez <xan gnome org>
Date:   Tue Apr 28 10:50:46 2009 +0300

    Implement caret browsing mode (bug #562621)
---
 embed/ephy-embed-prefs.h          |    1 +
 embed/webkit/webkit-embed-prefs.c |    5 ++++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/embed/ephy-embed-prefs.h b/embed/ephy-embed-prefs.h
index c78fe2f..3bfc034 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 e9193be..df0eeaa 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]