diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-01-09 17:29:57 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-09 17:29:57 +0800 |
commit | 5a1f97224b86f734537637f36d8baa8a942b2f0a (patch) | |
tree | 37e7bedf154f702ce67d74297e6672606816e543 /embed | |
parent | d5db5ec63e219c783c64daf03dd80cd91351b9cc (diff) | |
download | gsoc2013-epiphany-5a1f97224b86f734537637f36d8baa8a942b2f0a.tar gsoc2013-epiphany-5a1f97224b86f734537637f36d8baa8a942b2f0a.tar.gz gsoc2013-epiphany-5a1f97224b86f734537637f36d8baa8a942b2f0a.tar.bz2 gsoc2013-epiphany-5a1f97224b86f734537637f36d8baa8a942b2f0a.tar.lz gsoc2013-epiphany-5a1f97224b86f734537637f36d8baa8a942b2f0a.tar.xz gsoc2013-epiphany-5a1f97224b86f734537637f36d8baa8a942b2f0a.tar.zst gsoc2013-epiphany-5a1f97224b86f734537637f36d8baa8a942b2f0a.zip |
Add an accellerator-only action (F7) to toggle caret browsing. Hook up
2004-01-09 Christian Persch <chpe@cvs.gnome.org>
* data/epiphany.schemas.in:
* data/ui/epiphany-ui.xml:
* embed/ephy-embed-prefs.h:
* embed/mozilla/mozilla-notifiers.cpp:
* src/ephy-window.c: (ephy_window_finalize),
(browse_with_caret_notifier), (ephy_window_init):
* src/pdm-dialog.c: (show_cookies_properties):
* src/window-commands.c: (window_cmd_browse_with_caret):
* src/window-commands.h:
Add an accellerator-only action (F7) to toggle caret browsing. Hook
up listener to set the mozilla pref, added the gconf key to the schema.
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-embed-prefs.h | 1 | ||||
-rw-r--r-- | embed/mozilla/mozilla-notifiers.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/embed/ephy-embed-prefs.h b/embed/ephy-embed-prefs.h index 33b86da97..090770724 100644 --- a/embed/ephy-embed-prefs.h +++ b/embed/ephy-embed-prefs.h @@ -12,6 +12,7 @@ #define CONF_SECURITY_COOKIES_ACCEPT "/apps/epiphany/web/cookie_accept" #define CONF_LANGUAGE_AUTODETECT_ENCODING "/apps/epiphany/web/autodetect_encoding" #define CONF_LANGUAGE_DEFAULT_ENCODING "/apps/epiphany/web/default_encoding" +#define CONF_BROWSE_WITH_CARET "/apps/epiphany/web/browse_with_caret" /* These are defined gnome wide now */ #define CONF_NETWORK_PROXY_MODE "/system/proxy/mode" diff --git a/embed/mozilla/mozilla-notifiers.cpp b/embed/mozilla/mozilla-notifiers.cpp index 3a0314ddf..cb0deec5a 100644 --- a/embed/mozilla/mozilla-notifiers.cpp +++ b/embed/mozilla/mozilla-notifiers.cpp @@ -151,6 +151,7 @@ conversion_table [] = { CONF_NETWORK_SOCKS_PROXY_PORT, INT_PREF, "network.proxy.socks_port" }, { CONF_LANGUAGE_DEFAULT_ENCODING, STRING_PREF, "intl.charset.default" }, { CONF_LANGUAGE_AUTODETECT_ENCODING, STRING_PREF, "intl.charset.detector" }, + { CONF_BROWSE_WITH_CARET, BOOL_PREF, "accessibility.browsewithcaret" }, { NULL, 0, NULL } }; |