summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-05 22:49:06 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-05 22:49:06 +0200
commitb7deb632513795e495e9a3aa76a9400fef4de364 (patch)
treef57006f6fee9b79aea3182df5f0c3b28e9fc71eb /src/ui/documentwidget.c
parent52f3c7e158ee9436ee82f602ee9a6212dd54b776 (diff)
Experimenting with an iOS build
iPlatformApple applies to both macOS and iOS. Added iPlatformAppleDesktop and iPlatformAppleMobile to make a distinction between the two. IssueID #96
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 79a77f61..38e7fcca 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -251,7 +251,7 @@ void init_DocumentWidget(iDocumentWidget *d) {
251 addChildFlags_Widget(w, 251 addChildFlags_Widget(w,
252 iClob(new_IndicatorWidget()), 252 iClob(new_IndicatorWidget()),
253 resizeToParentWidth_WidgetFlag | resizeToParentHeight_WidgetFlag); 253 resizeToParentWidth_WidgetFlag | resizeToParentHeight_WidgetFlag);
254#if !defined (iPlatformApple) /* in system menu */ 254#if !defined (iPlatformAppleDesktop) /* in system menu */
255 addAction_Widget(w, reload_KeyShortcut, "navigate.reload"); 255 addAction_Widget(w, reload_KeyShortcut, "navigate.reload");
256 addAction_Widget(w, closeTab_KeyShortcut, "tabs.close"); 256 addAction_Widget(w, closeTab_KeyShortcut, "tabs.close");
257 addAction_Widget(w, SDLK_d, KMOD_PRIMARY, "bookmark.add"); 257 addAction_Widget(w, SDLK_d, KMOD_PRIMARY, "bookmark.add");