From 237ae6bf3f34975d76807629a8f44b44aca7ad9e Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 14 Oct 2021 03:44:09 +0300 Subject: [PATCH 47/47] gtk3.22: Set title for Wonder List Intelligence Dialog See osdn #43043 Signed-off-by: Marko Lindqvist --- client/gui-gtk-3.22/inteldlg.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/gui-gtk-3.22/inteldlg.c b/client/gui-gtk-3.22/inteldlg.c index 0ae5988aad..e24628523c 100644 --- a/client/gui-gtk-3.22/inteldlg.c +++ b/client/gui-gtk-3.22/inteldlg.c @@ -629,6 +629,12 @@ void update_intel_wonder_dialog(struct player *p) struct intel_wonder_dialog *pdialog = get_intel_wonder_dialog(p); if (pdialog != NULL) { + gchar *title = g_strdup_printf(_("Wonders of %s Empire"), + nation_adjective_for_player(p)); + + gtk_window_set_title(GTK_WINDOW(pdialog->shell), title); + g_free(title); + gtk_list_store_clear(pdialog->wonders); improvement_iterate(impr) { -- 2.33.0