mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Linux: window title 'Cake Wallet' -> 'Hash Wallet'
GTK title bar (and non-header-bar fallback) were both hardcoded in linux/my_application.cc. User reported 'Cake Wallet' showing in the window decoration despite all the Dart-side display name changes — that string only exists in the C++ native shell.
This commit is contained in:
@@ -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, "Cake Wallet");
|
||||
gtk_header_bar_set_title(header_bar, "Hash Wallet");
|
||||
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, "Cake Wallet");
|
||||
gtk_window_set_title(window, "Hash Wallet");
|
||||
}
|
||||
if (getenv("DESKTOP_FORCE_MOBILE")) {
|
||||
gtk_window_set_default_size(window, 720, 1280);
|
||||
|
||||
Reference in New Issue
Block a user