summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-03-30 18:04:30 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-03-30 18:04:30 +0000
commit76665e888620497456c60cf53872022912be24a1 (patch)
tree8d01d459baad9dcca24f4ee54e5b0583b9a3759b
parent6656ac59842bcab0f656c077f52e0dffdacfdd0c (diff)
downloadnetsurf-76665e888620497456c60cf53872022912be24a1.tar.gz
netsurf-76665e888620497456c60cf53872022912be24a1.tar.bz2
Update to use browser_window_refresh_url_bar()
svn path=/trunk/netsurf/; revision=7000
-rwxr-xr-xamiga/gui.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 4b5ec62f7..3e977ee57 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -1369,13 +1369,11 @@ void ami_switch_tab(struct gui_window_2 *gwin,bool redraw)
browser_window_update(gwin->bw);
-// if((gwin->bw->window->scrollx) || (gwin->bw->window->scrolly))
-// {
- gui_window_set_scroll(gwin->bw->window,gwin->bw->window->scrollx,gwin->bw->window->scrolly);
-// }
+ gui_window_set_scroll(gwin->bw->window,gwin->bw->window->scrollx,gwin->bw->window->scrolly);
if(gwin->bw->current_content)
- gui_window_set_url(gwin->bw->window,gwin->bw->current_content->url);
+ browser_window_refresh_url_bar(gwin->bw,gwin->bw->current_content->url,
+ gwin->bw->frag_id);
}
}