diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-01-16 14:07:46 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-01-16 14:07:46 +0200 |
commit | 388a762a0f79b75e0c5e5b24ecb8e764b105d50c (patch) | |
tree | 566629233049f11636d64c806262da3d183f22e7 /src/prefs.c | |
parent | 731672c70665c7f24b416818a2137b5ee2e3ee19 (diff) |
Customizable navbar button actions
Diffstat (limited to 'src/prefs.c')
-rw-r--r-- | src/prefs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/prefs.c b/src/prefs.c index 3aa05f01..6164ca25 100644 --- a/src/prefs.c +++ b/src/prefs.c | |||
@@ -44,6 +44,10 @@ void init_Prefs(iPrefs *d) { | |||
44 | d->uiAnimations = iTrue; | 44 | d->uiAnimations = iTrue; |
45 | d->uiScale = 1.0f; /* default set elsewhere */ | 45 | d->uiScale = 1.0f; /* default set elsewhere */ |
46 | d->zoomPercent = 100; | 46 | d->zoomPercent = 100; |
47 | d->navbarActions[0] = back_ToolbarAction; | ||
48 | d->navbarActions[1] = forward_ToolbarAction; | ||
49 | d->navbarActions[2] = sidebar_ToolbarAction; | ||
50 | d->navbarActions[3] = home_ToolbarAction; | ||
47 | #if defined (iPlatformAndroidMobile) | 51 | #if defined (iPlatformAndroidMobile) |
48 | /* Android has a system-wide back button so no need to have a duplicate. */ | 52 | /* Android has a system-wide back button so no need to have a duplicate. */ |
49 | d->toolbarActions[0] = closeTab_ToolbarAction; | 53 | d->toolbarActions[0] = closeTab_ToolbarAction; |