diff options
author | Ole Loots <ole@monochrom.net> | 2012-04-10 23:12:49 +0000 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2012-04-10 23:12:49 +0000 |
commit | 56ec72f04406ceca971eed009bf20a2e3a075a5b (patch) | |
tree | a1fe451596346ac6e130b9ec94b7365815906026 /atari/browser_win.c | |
parent | 786be41d01b1a2940aae1012dd9db128acee594d (diff) | |
download | netsurf-56ec72f04406ceca971eed009bf20a2e3a075a5b.tar.gz netsurf-56ec72f04406ceca971eed009bf20a2e3a075a5b.tar.bz2 |
Init toolbar.
svn path=/trunk/netsurf/; revision=13849
Diffstat (limited to 'atari/browser_win.c')
-rwxr-xr-x | atari/browser_win.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 )
|