From 1653bd7370b6b2fd96c877caa6f50bfbf1ce79bc Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 8 Jun 2023 17:35:10 +0300 Subject: [PATCH 22/22] gtk: Make Small Font setting to take effect See osdn #48186 Signed-off-by: Marko Lindqvist --- client/options.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/options.c b/client/options.c index 3b59963b14..666e695ee0 100644 --- a/client/options.c +++ b/client/options.c @@ -710,7 +710,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 *)) @@ -2843,12 +2843,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 " @@ -3064,12 +3064,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 " -- 2.39.2