From 37151551bfa82eab08d106e698f196295f7dee4f Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 8 Jun 2023 17:32:52 +0300 Subject: [PATCH 29/29] gtk: Make Small Font setting to take effect See osdn #48186 Signed-off-by: Marko Lindqvist --- client/options.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/client/options.c b/client/options.c index ecf1169616..30087b3b20 100644 --- a/client/options.c +++ b/client/options.c @@ -745,7 +745,7 @@ bool option_reset(struct option *poption) } /************************************************************************//** - Set the function to call every time this option changes. Can be NULL. + Set the function to call every time this option changes. Can be NULL. ****************************************************************************/ void option_set_changed_callback(struct option *poption, void (*callback) (struct option *)) @@ -2883,12 +2883,12 @@ static struct client_option client_options[] = { "Sans Italic 10", font_changed_callback), GEN_FONT_OPTION(gui_gtk3_22_font_small, "small_font", N_("Small Font"), - N_("This font is used for any small font request. For " + N_("This font is used for any small font request. For " "example, it is used for display the building lists " "in the city dialog, the Economy report or the Units " "report."), COC_FONT, GUI_GTK3_22, - "Sans 9", NULL), + "Sans 9", font_changed_callback), GEN_FONT_OPTION(gui_gtk3_22_font_comment_label, "comment_label", N_("Comment Label"), N_("This font is used to display comment labels, such as " @@ -3104,12 +3104,12 @@ static struct client_option client_options[] = { "Sans Italic 10", font_changed_callback), GEN_FONT_OPTION(gui_gtk4_font_small, "small_font", N_("Small Font"), - N_("This font is used for any small font request. For " + N_("This font is used for any small font request. For " "example, it is used for display the building lists " "in the city dialog, the Economy report or the Units " "report."), COC_FONT, GUI_GTK4, - "Sans 9", NULL), + "Sans 9", font_changed_callback), GEN_FONT_OPTION(gui_gtk4_font_comment_label, "comment_label", N_("Comment Label"), N_("This font is used to display comment labels, such as " @@ -3325,12 +3325,12 @@ static struct client_option client_options[] = { "Sans Italic 10", font_changed_callback), GEN_FONT_OPTION(gui_gtk5_font_small, "small_font", N_("Small Font"), - N_("This font is used for any small font request. For " + N_("This font is used for any small font request. For " "example, it is used for display the building lists " "in the city dialog, the Economy report or the Units " "report."), COC_FONT, GUI_GTK5, - "Sans 9", NULL), + "Sans 9", font_changed_callback), GEN_FONT_OPTION(gui_gtk5_font_comment_label, "comment_label", N_("Comment Label"), N_("This font is used to display comment labels, such as " -- 2.39.2