This commit is contained in:
2026-07-14 01:36:11 +08:00
parent fd3a204c81
commit c9b282d985
5 changed files with 84 additions and 15 deletions
+2 -2
View File
@@ -45,11 +45,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, "cloud_archiver");
gtk_header_bar_set_title(header_bar, "Cloud Archiver");
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, "cloud_archiver");
gtk_window_set_title(window, "Cloud Archiver");
}
gtk_window_set_default_size(window, 1280, 720);