diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-08-31 19:53:34 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-08-31 19:53:34 +0000 |
commit | 1cb60828ea8e529a58b4a92f2915e6236595cf5d (patch) | |
tree | acb82b0bd265d7602503f4b98a003d40e8bffd3a /amiga | |
parent | b6d7b3cf3665736f5e29df178221f99a4eb24be5 (diff) | |
download | netsurf-1cb60828ea8e529a58b4a92f2915e6236595cf5d.tar.gz netsurf-1cb60828ea8e529a58b4a92f2915e6236595cf5d.tar.bz2 |
Don't refresh buttons when enabling/disabling. Fixes bitmap alpha/overprinting
problem (thanks to Simon Archer)
svn path=/trunk/netsurf/; revision=12694
Diffstat (limited to 'amiga')
-rwxr-xr-x | amiga/gui.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index f2ceed9b1..ad6d419a5 100755 --- a/amiga/gui.c +++ b/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); } |