Random files, maybe due to flutter run.

This commit is contained in:
2025-01-30 20:01:05 -07:00
parent a4ad5823aa
commit 26f688cfe9
19 changed files with 45 additions and 180 deletions

View File

@ -4,10 +4,10 @@ project(runner LANGUAGES CXX)
# The name of the executable created for the application. Change this to change
# the on-disk name of your application.
set(BINARY_NAME "flutter_expense_tracker")
set(BINARY_NAME "flutter_empty")
# The unique GTK application identifier for this application. See:
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
set(APPLICATION_ID "com.example.flutter_expense_tracker")
set(APPLICATION_ID "com.example.flutter_empty")
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake.

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, "flutter_expense_tracker");
gtk_header_bar_set_title(header_bar, "flutter_empty");
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, "flutter_expense_tracker");
gtk_window_set_title(window, "flutter_empty");
}
gtk_window_set_default_size(window, 1280, 720);