mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-05 14:51:47 +03:00
Require gadtools 53.7
OS4.1u6 does not cope well with image menus, so insist on a component in FE to ensure the layouting is sane and menu creation is fast.
This commit is contained in:
parent
fbbb6d664d
commit
57ca8bbd21
@ -826,8 +826,8 @@ static struct gui_window_2 *ami_menu_layout(struct gui_window_2 *gwin)
|
||||
} while((gwin->menutype[j] != NM_TITLE) && (gwin->menutype[j] != 0));
|
||||
}
|
||||
#ifdef __amigaos4__
|
||||
if(LIB_IS_AT_LEAST((struct Library *)GadToolsBase, 53, 6)) {
|
||||
/* GadTools 53.6+ only. For now we will only create the menu
|
||||
if(LIB_IS_AT_LEAST((struct Library *)GadToolsBase, 53, 7)) {
|
||||
/* GadTools 53.7+ only. For now we will only create the menu
|
||||
using label.image if there's a bitmap associated with the item. */
|
||||
if((gwin->menuicon[i] != NULL) && (gwin->menulab[i] != NM_BARLABEL)) {
|
||||
int icon_width = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user