diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 0fa9b3f7..9b412783 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -2495,11 +2495,17 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
2495 | (iMenuItem[]){ { "Copy", 0, 0, "copy" }, { "---", 0, 0, NULL } }, | 2495 | (iMenuItem[]){ { "Copy", 0, 0, "copy" }, { "---", 0, 0, NULL } }, |
2496 | 2); | 2496 | 2); |
2497 | } | 2497 | } |
2498 | if (deviceType_App() == desktop_AppDeviceType) { | ||
2499 | pushBackN_Array( | ||
2500 | &items, | ||
2501 | (iMenuItem[]){ | ||
2502 | { "Go Back", navigateBack_KeyShortcut, "navigate.back" }, | ||
2503 | { "Go Forward", navigateForward_KeyShortcut, "navigate.forward" } }, | ||
2504 | 2); | ||
2505 | } | ||
2498 | pushBackN_Array( | 2506 | pushBackN_Array( |
2499 | &items, | 2507 | &items, |
2500 | (iMenuItem[]){ | 2508 | (iMenuItem[]){ |
2501 | { "Go Back", navigateBack_KeyShortcut, "navigate.back" }, | ||
2502 | { "Go Forward", navigateForward_KeyShortcut, "navigate.forward" }, | ||
2503 | { upArrow_Icon " Go to Parent", navigateParent_KeyShortcut, "navigate.parent" }, | 2509 | { upArrow_Icon " Go to Parent", navigateParent_KeyShortcut, "navigate.parent" }, |
2504 | { upArrowBar_Icon " Go to Root", navigateRoot_KeyShortcut, "navigate.root" }, | 2510 | { upArrowBar_Icon " Go to Root", navigateRoot_KeyShortcut, "navigate.root" }, |
2505 | { "---", 0, 0, NULL }, | 2511 | { "---", 0, 0, NULL }, |
@@ -2512,7 +2518,7 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
2512 | { book_Icon " Import Links as Bookmarks...", 0, 0, "bookmark.links confirm:1" }, | 2518 | { book_Icon " Import Links as Bookmarks...", 0, 0, "bookmark.links confirm:1" }, |
2513 | { "---", 0, 0, NULL }, | 2519 | { "---", 0, 0, NULL }, |
2514 | { "Copy Page URL", 0, 0, "document.copylink" } }, | 2520 | { "Copy Page URL", 0, 0, "document.copylink" } }, |
2515 | 13); | 2521 | 11); |
2516 | if (isEmpty_Range(&d->selectMark)) { | 2522 | if (isEmpty_Range(&d->selectMark)) { |
2517 | pushBackN_Array( | 2523 | pushBackN_Array( |
2518 | &items, | 2524 | &items, |