mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 23:09:39 +03:00
Don't refresh buttons when enabling/disabling. Fixes bitmap alpha/overprinting
problem (thanks to Simon Archer) svn path=/trunk/netsurf/; revision=12694
This commit is contained in:
parent
b6d7b3cf36
commit
1cb60828ea
10
amiga/gui.c
10
amiga/gui.c
@ -2237,25 +2237,25 @@ void ami_update_buttons(struct gui_window_2 *gwin)
|
||||
}
|
||||
}
|
||||
|
||||
RefreshSetGadgetAttrs((struct Gadget *)gwin->objects[GID_BACK],gwin->win,NULL,
|
||||
SetGadgetAttrs((struct Gadget *)gwin->objects[GID_BACK],gwin->win,NULL,
|
||||
GA_Disabled,back,
|
||||
TAG_DONE);
|
||||
|
||||
RefreshSetGadgetAttrs((struct Gadget *)gwin->objects[GID_FORWARD],gwin->win,NULL,
|
||||
SetGadgetAttrs((struct Gadget *)gwin->objects[GID_FORWARD],gwin->win,NULL,
|
||||
GA_Disabled,forward,
|
||||
TAG_DONE);
|
||||
|
||||
RefreshSetGadgetAttrs((struct Gadget *)gwin->objects[GID_RELOAD],gwin->win,NULL,
|
||||
SetGadgetAttrs((struct Gadget *)gwin->objects[GID_RELOAD],gwin->win,NULL,
|
||||
GA_Disabled,reload,
|
||||
TAG_DONE);
|
||||
|
||||
RefreshSetGadgetAttrs((struct Gadget *)gwin->objects[GID_STOP],gwin->win,NULL,
|
||||
SetGadgetAttrs((struct Gadget *)gwin->objects[GID_STOP],gwin->win,NULL,
|
||||
GA_Disabled,stop,
|
||||
TAG_DONE);
|
||||
|
||||
if((gwin->tabs) && (ClickTabBase->lib_Version < 53))
|
||||
{
|
||||
RefreshSetGadgetAttrs((struct Gadget *)gwin->objects[GID_CLOSETAB],gwin->win,NULL,
|
||||
SetGadgetAttrs((struct Gadget *)gwin->objects[GID_CLOSETAB],gwin->win,NULL,
|
||||
GA_Disabled,tabclose,
|
||||
TAG_DONE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user