summaryrefslogtreecommitdiff
path: root/src/ui.cc
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-02-29 14:41:37 +0100
committerjcid <devnull@localhost>2008-02-29 14:41:37 +0100
commit1eb0d3928b5784e353d25aa91c19a67f5c7dcc17 (patch)
treea17b44f51ae0470f5756678b84249647612b4ead /src/ui.cc
parentf814f107fcaa98f1897624af7661f948974fd639 (diff)
+ bound ctrl-f to findtext and ctrl-b to bookmarks.
Diffstat (limited to 'src/ui.cc')
-rw-r--r--src/ui.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ui.cc b/src/ui.cc
index b268da0e..ba686e34 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -702,7 +702,13 @@ int UI::handle(int event)
// Handle these shortcuts here.
if (event == SHORTCUT) {
if (event_state(CTRL)) {
- if (k == 'l') {
+ if (k == 'b') {
+ a_UIcmd_book(user_data());
+ ret = 1;
+ } else if (k == 'f') {
+ a_UIcmd_findtext_dialog((BrowserWindow*) user_data());
+ ret = 1;
+ } else if (k == 'l') {
a_UIcmd_open_url_dialog(user_data());
ret = 1;
} else if (k == 'n') {