diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index a468e2df..6df25433 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -2526,8 +2526,8 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
2526 | &items, | 2526 | &items, |
2527 | (iMenuItem[]){ | 2527 | (iMenuItem[]){ |
2528 | { "Go Back", navigateBack_KeyShortcut, "navigate.back" }, | 2528 | { "Go Back", navigateBack_KeyShortcut, "navigate.back" }, |
2529 | { "Go Forward", navigateForward_KeyShortcut, "navigate.forward" } }, | 2529 | { "Go Forward", navigateForward_KeyShortcut, "navigate.forward" } }, |
2530 | 2); | 2530 | 2); |
2531 | } | 2531 | } |
2532 | pushBackN_Array( | 2532 | pushBackN_Array( |
2533 | &items, | 2533 | &items, |
@@ -2542,10 +2542,15 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
2542 | { star_Icon " Subscribe to Page...", subscribeToPage_KeyModifier, "feeds.subscribe" }, | 2542 | { star_Icon " Subscribe to Page...", subscribeToPage_KeyModifier, "feeds.subscribe" }, |
2543 | { "---", 0, 0, NULL }, | 2543 | { "---", 0, 0, NULL }, |
2544 | { book_Icon " Import Links as Bookmarks...", 0, 0, "bookmark.links confirm:1" }, | 2544 | { book_Icon " Import Links as Bookmarks...", 0, 0, "bookmark.links confirm:1" }, |
2545 | { "Translate...", 0, 0, "document.translate" }, | 2545 | { globe_Icon " Translate...", 0, 0, "document.translate" }, |
2546 | { "---", 0, 0, NULL }, | 2546 | { "---", 0, 0, NULL }, |
2547 | { "Copy Page URL", 0, 0, "document.copylink" } }, | 2547 | { "Copy Page URL", 0, 0, "document.copylink" } }, |
2548 | 12); | 2548 | 12); |
2549 | if (deviceType_App() != desktop_AppDeviceType) { | ||
2550 | /* TODO: Perhaps not the best place for this? */ | ||
2551 | insert_Array(&items, size_Array(&items) - 3, | ||
2552 | &(iMenuItem){ magnifyingGlass_Icon " Find on page", 0, 0, "focus.set id:find.input" }); | ||
2553 | } | ||
2549 | if (isEmpty_Range(&d->selectMark)) { | 2554 | if (isEmpty_Range(&d->selectMark)) { |
2550 | pushBackN_Array( | 2555 | pushBackN_Array( |
2551 | &items, | 2556 | &items, |