Update the application title

This commit is contained in:
Zontreck 2024-02-10 05:23:27 -07:00
parent c83db331da
commit 53760e39fd
3 changed files with 5 additions and 5 deletions

View file

@ -40,11 +40,11 @@ static void my_application_activate(GApplication* application) {
if (use_header_bar) {
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
gtk_widget_show(GTK_WIDGET(header_bar));
gtk_header_bar_set_title(header_bar, "vorpal");
gtk_header_bar_set_title(header_bar, "Vorpal");
gtk_header_bar_set_show_close_button(header_bar, TRUE);
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
} else {
gtk_window_set_title(window, "vorpal");
gtk_window_set_title(window, "Vorpal");
}
gtk_window_set_default_size(window, 1280, 720);

View file

@ -23,13 +23,13 @@
<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="vorpal">
<meta name="apple-mobile-web-app-title" content="Vorpal">
<link rel="apple-touch-icon" href="icons/Icon-192.png">
<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png"/>
<title>vorpal</title>
<title>Vorpal</title>
<link rel="manifest" href="manifest.json">
<script>

View file

@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
FlutterWindow window(project);
Win32Window::Point origin(10, 10);
Win32Window::Size size(1280, 720);
if (!window.Create(L"vorpal", origin, size)) {
if (!window.Create(L"Vorpal", origin, size)) {
return EXIT_FAILURE;
}
window.SetQuitOnClose(true);