diff options
-rwxr-xr-x | atari/toolbar.c | 7 |
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;
}
|