Browse Source

Changed Linux window title

master
Kenneth Bruen 2 years ago
parent
commit
eaa63f75af
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 4
      linux/my_application.cc

4
linux/my_application.cc

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

Loading…
Cancel
Save