Updated APP name

This commit is contained in:
2026-03-23 16:44:23 +08:00
parent f21498717b
commit b2a27f7801
12 changed files with 685 additions and 22 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 "frontend")
set(BINARY_NAME "hightube")
# The unique GTK application identifier for this application. See:
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
set(APPLICATION_ID "com.example.frontend")
set(APPLICATION_ID "com.example.hightube")
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake.

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