diff --git a/amiga/gui.c b/amiga/gui.c index d5d227eef..6fc8a2991 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -2821,7 +2821,7 @@ struct gui_window *gui_create_browser_window(struct browser_window *bw, GA_ID, GID_ICON, SPACE_MinWidth, 16, SPACE_MinHeight, 16, - SPACE_Transparent, TRUE, + SPACE_Transparent, FALSE, // SPACE_RenderHook, &g->shared->favicon_hook, SpaceEnd, CHILD_WeightedWidth,0, @@ -2847,7 +2847,7 @@ struct gui_window *gui_create_browser_window(struct browser_window *bw, GA_ID, GID_SEARCH_ICON, SPACE_MinWidth, 16, SPACE_MinHeight, 16, - SPACE_Transparent, TRUE, + SPACE_Transparent, FALSE, SPACE_RenderHook, &g->shared->search_ico_hook, SpaceEnd, CHILD_WeightedWidth,0, @@ -3823,8 +3823,8 @@ void gui_window_set_icon(struct gui_window *g, hlcache_handle *icon) { GetAttr(SPACE_AreaBox, g->shared->objects[GID_ICON], (ULONG *)&bbox); - EraseRect(g->shared->win->RPort, bbox->Left, bbox->Top, - bbox->Left+16, bbox->Top+16); + RefreshGList((struct Gadget *)g->shared->objects[GID_ICON], + g->shared->win, NULL, 1); if(bm) {