diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/keys.c | 1 | ||||
-rw-r--r-- | src/ui/util.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/keys.c b/src/ui/keys.c index a4e5c6fc..10855b8d 100644 --- a/src/ui/keys.c +++ b/src/ui/keys.c | |||
@@ -84,6 +84,7 @@ static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = | |||
84 | { 72, { "Reset zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, 0 }, | 84 | { 72, { "Reset zoom", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, 0 }, |
85 | { 80, { "Previous tab", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | 85 | { 80, { "Previous tab", prevTab_KeyShortcut, "tabs.prev" }, 0 }, |
86 | { 81, { "Next tab", nextTab_KeyShortcut, "tabs.next" }, 0 }, | 86 | { 81, { "Next tab", nextTab_KeyShortcut, "tabs.next" }, 0 }, |
87 | { 100,{ "Toggle show URL on hover", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | ||
87 | /* The following cannot currently be changed (built-in duplicates). */ | 88 | /* The following cannot currently be changed (built-in duplicates). */ |
88 | { 1000, { NULL, SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | 89 | { 1000, { NULL, SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, |
89 | { 1001, { NULL, SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | 90 | { 1001, { NULL, SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, |
diff --git a/src/ui/util.c b/src/ui/util.c index 6615a454..222d5716 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -1043,7 +1043,7 @@ iWidget *makePreferences_Widget(void) { | |||
1043 | appendTwoColumnPage_(tabs, "General", '1', &headings, &values); | 1043 | appendTwoColumnPage_(tabs, "General", '1', &headings, &values); |
1044 | addChild_Widget(headings, iClob(makeHeading_Widget("Downloads folder:"))); | 1044 | addChild_Widget(headings, iClob(makeHeading_Widget("Downloads folder:"))); |
1045 | setId_Widget(addChild_Widget(values, iClob(new_InputWidget(0))), "prefs.downloads"); | 1045 | setId_Widget(addChild_Widget(values, iClob(new_InputWidget(0))), "prefs.downloads"); |
1046 | addChild_Widget(headings, iClob(makeHeading_Widget("Full link on hover:"))); | 1046 | addChild_Widget(headings, iClob(makeHeading_Widget("Show URL on hover:"))); |
1047 | addChild_Widget(values, iClob(makeToggle_Widget("prefs.hoverlink"))); | 1047 | addChild_Widget(values, iClob(makeToggle_Widget("prefs.hoverlink"))); |
1048 | addChild_Widget(headings, iClob(makeHeading_Widget("Smooth scrolling:"))); | 1048 | addChild_Widget(headings, iClob(makeHeading_Widget("Smooth scrolling:"))); |
1049 | addChild_Widget(values, iClob(makeToggle_Widget("prefs.smoothscroll"))); | 1049 | addChild_Widget(values, iClob(makeToggle_Widget("prefs.smoothscroll"))); |