fix: name issue

This commit is contained in:
Hiddify
2023-08-21 14:27:23 +00:00
parent 9bfa4806f0
commit ed87ed1b3c
6 changed files with 8 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ 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 "HiddifyNext")
set(BINARY_NAME "hiddify")
# The unique GTK application identifier for this application. See:
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
set(APPLICATION_ID "app.hiddify.com")

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