summaryrefslogtreecommitdiff
path: root/atari/toolbar.c
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-06-03 18:02:11 +0000
committerOle Loots <ole@monochrom.net>2012-06-03 18:02:11 +0000
commit0a7ce3007f93f4a2f4be79a262cc0796eb0fada2 (patch)
tree74f269e3bc4960205051c807e8ca40faecb9e088 /atari/toolbar.c
parentc55ffa47bf2fa5b6d6b3ef8e37c94cae754667fe (diff)
downloadnetsurf-0a7ce3007f93f4a2f4be79a262cc0796eb0fada2.tar.gz
netsurf-0a7ce3007f93f4a2f4be79a262cc0796eb0fada2.tar.bz2
Reset stop button when url changes.
svn path=/trunk/netsurf/; revision=13939
Diffstat (limited to 'atari/toolbar.c')
-rwxr-xr-xatari/toolbar.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/atari/toolbar.c b/atari/toolbar.c
index d3d13436a..521f96c2f 100755
--- a/atari/toolbar.c
+++ b/atari/toolbar.c
@@ -170,10 +170,6 @@ void toolbar_init( void )
}
n = (sizeof( toolbar_styles ) / sizeof( struct s_toolbar_style ));
- printf("toolbar styles: %d\n", n );
-
-
-
for( i=0; i<n; i++ ){
toolbar_styles[i].bgcolor = toolbar_bg_color;
if( img_toolbar ){
@@ -907,7 +903,8 @@ void tb_url_set( struct gui_window * gw, char * text )
work.g_w -= (TOOLBAR_URL_MARGIN_LEFT + TOOLBAR_URL_MARGIN_RIGHT);
/* do not overwrite the black border, because of that, add 1 */
work.g_h -= (TOOLBAR_URL_MARGIN_TOP + TOOLBAR_URL_MARGIN_BOTTOM+1);
- tb_txt_request_redraw( gw->root->toolbar, 0,0,work.g_w,work.g_h );
+ tb_txt_request_redraw( gw->root->toolbar, 0,0,work.g_w,work.g_h );
+ tb_update_buttons( gw, TOOLBAR_BT_STOP );
return;
}