tweak: load default tab title sooner
This commit is contained in:
parent
254b0ed658
commit
fdb4ad7ced
1
rose.c
1
rose.c
|
@ -143,6 +143,7 @@ void notebook_append(GtkNotebook *notebook, const char *uri)
|
||||||
webkit_web_view_set_background_color(view, &rgba);
|
webkit_web_view_set_background_color(view, &rgba);
|
||||||
load_uri(view, (uri) ? uri : HOME);
|
load_uri(view, (uri) ? uri : HOME);
|
||||||
gtk_notebook_set_current_page(notebook, n);
|
gtk_notebook_set_current_page(notebook, n);
|
||||||
|
gtk_notebook_set_tab_label_text(notebook, GTK_WIDGET(view), "-" );
|
||||||
}
|
}
|
||||||
|
|
||||||
WebKitWebView *notebook_get_webview(GtkNotebook *notebook)
|
WebKitWebView *notebook_get_webview(GtkNotebook *notebook)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user