Changed Linux window title

This commit is contained in:
Kenneth Bruen 2022-06-01 18:30:33 +03:00
parent 65e7d5f122
commit eaa63f75af
Signed by: kbruen
GPG key ID: C1980A470C3EE5B1

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, "logic_circuits_simulator");
gtk_header_bar_set_title(header_bar, "Logic Circuits Simulator");
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, "logic_circuits_simulator");
gtk_window_set_title(window, "Logic Circuits Simulator");
}
gtk_window_set_default_size(window, 1280, 720);