tweak: load default tab title sooner

This commit is contained in:
NunoSempere 2022-12-14 01:17:23 +00:00
parent 254b0ed658
commit fdb4ad7ced

1
rose.c
View File

@ -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)