summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-01-31 17:10:47 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-01-31 17:10:47 +0000
commit1acc32b3a952c5d5526193ac546389c0a42420e3 (patch)
tree1f41e7987dcd8fb87f161712ad0a23688cbad831 /amiga/gui.c
parent7729d9369696e5983ac7959f21171ffdf684d2a1 (diff)
downloadnetsurf-1acc32b3a952c5d5526193ac546389c0a42420e3.tar.gz
netsurf-1acc32b3a952c5d5526193ac546389c0a42420e3.tar.bz2
Force always show tabs when clicktab.gadget is older than v53
Diffstat (limited to 'amiga/gui.c')
-rw-r--r--amiga/gui.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 41a0a4559..2eb498487 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -556,6 +556,10 @@ static nserror ami_set_options(struct nsoption_s *defaults)
*/
nsoption_set_bool(core_select_menu, true);
+ /* ClickTab < 53 doesn't work with the auto show/hide tab-bar (for reasons forgotten) */
+ if(ClickTabBase->lib_Version < 53)
+ nsoption_set_bool(tab_always_show, true);
+
/* Some AmigaOS3 overrides */
#ifndef __amigaos4__
nsoption_set_bool(download_notify, false);
@@ -3985,7 +3989,6 @@ gui_window_create(struct browser_window *bw,
if(ClickTabBase->lib_Version < 53)
{
-//#ifdef __amigaos4__
addtabclosegadget = LAYOUT_AddChild;
g->shared->objects[GID_CLOSETAB] = ButtonObj,
GA_ID, GID_CLOSETAB,
@@ -4007,9 +4010,6 @@ gui_window_create(struct browser_window *bw,
GA_Text, "+",
BUTTON_RenderImage, g->shared->objects[GID_ADDTAB_BM],
ButtonEnd;
-//#else
-//#warning OS3 tab bar permanently disabled!
-//#endif
}
else
{