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