From 56ec72f04406ceca971eed009bf20a2e3a075a5b Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Tue, 10 Apr 2012 23:12:49 +0000 Subject: Init toolbar. svn path=/trunk/netsurf/; revision=13849 --- atari/browser_win.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'atari/browser_win.c') diff --git a/atari/browser_win.c b/atari/browser_win.c index f6179e351..68cce8008 100755 --- a/atari/browser_win.c +++ b/atari/browser_win.c @@ -235,10 +235,10 @@ void window_open( struct gui_window * gw, GRECT pos ) if( gw->root->statusbar != NULL ){ gw->root->statusbar->attached = true; } - tb_adjust_size( gw ); + tb_adjust_size( gw ); /*TBD: get already present content and set size? */ input_window = gw; - window_set_focus( gw, BROWSER, gw->browser ); + window_set_focus( gw, BROWSER, gw->browser ); } @@ -246,7 +246,7 @@ void window_open( struct gui_window * gw, GRECT pos ) /* update back forward buttons (see tb_update_buttons (bug) ) */ void window_update_back_forward( struct gui_window * gw) { - tb_update_buttons( gw ); + tb_update_buttons( gw, -1 ); } void window_set_stauts( struct gui_window * gw , char * text ) -- cgit v1.2.3