mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 15:29:45 +03:00
Update GTK tab opening to hopefully correctly render pages on open. (Mark Benjamin)
svn path=/trunk/netsurf/; revision=7055
This commit is contained in:
parent
9f39880e8c
commit
4411cc918d
@ -57,12 +57,15 @@ void nsgtk_tab_init(GtkWidget *tabs)
|
||||
void nsgtk_tab_add(struct gui_window *window)
|
||||
{
|
||||
GtkNotebook *tabs = nsgtk_scaffolding_get_notebook(window);
|
||||
|
||||
GtkWidget *tabBox = nsgtk_tab_label_setup(window);
|
||||
|
||||
gtk_notebook_append_page(tabs,
|
||||
GTK_WIDGET(window->scrolledwindow), tabBox);
|
||||
|
||||
GTK_WIDGET(window->scrolledwindow),
|
||||
tabBox);
|
||||
|
||||
gtk_widget_show_all(GTK_WIDGET(window->scrolledwindow));
|
||||
|
||||
gtk_notebook_set_current_page(tabs, gtk_notebook_get_n_pages(tabs) - 1);
|
||||
}
|
||||
|
||||
void nsgtk_tab_visibility_update(GtkNotebook *notebook, GtkWidget *child,
|
||||
|
Loading…
Reference in New Issue
Block a user