Fix application name, id, and labels
This commit is contained in:
parent
2558430718
commit
ae249f8c0f
5 changed files with 8 additions and 8 deletions
|
@ -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, "nbteditor");
|
||||
gtk_header_bar_set_title(header_bar, "NBT Editor");
|
||||
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, "nbteditor");
|
||||
gtk_window_set_title(window, "NBT Editor");
|
||||
}
|
||||
|
||||
gtk_window_set_default_size(window, 1280, 720);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue