diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-17 21:46:55 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-17 21:46:55 +0200 |
commit | c8791b2a0537142a124347cabd95eac36bb59c70 (patch) | |
tree | 4af2dd3d9337bc53781389057d5de3b022c6d289 /src/ui/documentwidget.c | |
parent | 0081bb4511d8799fa46639877b57a6f2cbf38925 (diff) |
Reorganized menus; added new bookmark list items
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 75309737..43850043 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -244,6 +244,8 @@ void init_DocumentWidget(iDocumentWidget *d) { | |||
244 | #if !defined (iPlatformApple) /* in system menu */ | 244 | #if !defined (iPlatformApple) /* in system menu */ |
245 | addAction_Widget(w, reload_KeyShortcut, "navigate.reload"); | 245 | addAction_Widget(w, reload_KeyShortcut, "navigate.reload"); |
246 | addAction_Widget(w, SDLK_w, KMOD_PRIMARY, "tabs.close"); | 246 | addAction_Widget(w, SDLK_w, KMOD_PRIMARY, "tabs.close"); |
247 | addAction_Widget(w, SDLK_d, KMOD_PRIMARY, "bookmark.add"); | ||
248 | addAction_Widget(w, subscribeToPage_KeyModifier, "feeds.subscribe"); | ||
247 | #endif | 249 | #endif |
248 | addAction_Widget(w, navigateBack_KeyShortcut, "navigate.back"); | 250 | addAction_Widget(w, navigateBack_KeyShortcut, "navigate.back"); |
249 | addAction_Widget(w, navigateForward_KeyShortcut, "navigate.forward"); | 251 | addAction_Widget(w, navigateForward_KeyShortcut, "navigate.forward"); |
@@ -2308,8 +2310,11 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
2308 | { "---", 0, 0, NULL }, | 2310 | { "---", 0, 0, NULL }, |
2309 | { "Reload Page", reload_KeyShortcut, "navigate.reload" }, | 2311 | { "Reload Page", reload_KeyShortcut, "navigate.reload" }, |
2310 | { "---", 0, 0, NULL }, | 2312 | { "---", 0, 0, NULL }, |
2313 | { "Bookmark Page...", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | ||
2314 | { "Subscribe to Page...", subscribeToPage_KeyModifier, "feeds.subscribe" }, | ||
2315 | { "---", 0, 0, NULL }, | ||
2311 | { "Copy Page URL", 0, 0, "document.copylink" } }, | 2316 | { "Copy Page URL", 0, 0, "document.copylink" } }, |
2312 | 8); | 2317 | 11); |
2313 | if (isEmpty_Range(&d->selectMark)) { | 2318 | if (isEmpty_Range(&d->selectMark)) { |
2314 | pushBackN_Array( | 2319 | pushBackN_Array( |
2315 | &items, | 2320 | &items, |