Disable tab bar on OS3 for now

This commit is contained in:
Chris Young 2015-02-01 20:01:18 +00:00
parent f661aa34e0
commit 7b0969680b

View File

@ -3716,6 +3716,7 @@ gui_window_create(struct browser_window *bw,
if(ClickTabBase->lib_Version < 53) if(ClickTabBase->lib_Version < 53)
{ {
#ifdef __amigaos4__
addtabclosegadget = LAYOUT_AddChild; addtabclosegadget = LAYOUT_AddChild;
g->shared->objects[GID_CLOSETAB] = ButtonObj, g->shared->objects[GID_CLOSETAB] = ButtonObj,
GA_ID, GID_CLOSETAB, GA_ID, GID_CLOSETAB,
@ -3737,6 +3738,9 @@ gui_window_create(struct browser_window *bw,
GA_Text, "+", GA_Text, "+",
BUTTON_RenderImage, g->shared->objects[GID_ADDTAB_BM], BUTTON_RenderImage, g->shared->objects[GID_ADDTAB_BM],
ButtonEnd; ButtonEnd;
#else
#warning OS3 tab bar permanently disabled!
#endif
} }
else else
{ {