mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 23:39:51 +03:00
Reset stop button when url changes.
svn path=/trunk/netsurf/; revision=13939
This commit is contained in:
parent
c55ffa47bf
commit
0a7ce3007f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user