Only draw search favicon on normal browser windows

svn path=/trunk/netsurf/; revision=10127
This commit is contained in:
Chris Young 2010-03-14 15:33:59 +00:00
parent 4a950fcbf7
commit 66730eb138
1 changed files with 2 additions and 1 deletions

View File

@ -3774,7 +3774,8 @@ void gui_window_set_search_ico(struct content *ico)
nnode=(struct nsObject *)GetSucc((struct Node *)node);
gwin = node->objstruct;
if(node->Type == AMINS_WINDOW)
if((node->Type == AMINS_WINDOW) &&
(gwin->bw->browser_window_type == BROWSER_WINDOW_NORMAL))
{
GetAttr(SPACE_AreaBox, (Object *)gwin->objects[GID_SEARCH_ICON], (ULONG *)&bbox);