[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28901: 25.3; Font selector fails to remember current font and size
From: |
Robert Pluim |
Subject: |
bug#28901: 25.3; Font selector fails to remember current font and size |
Date: |
Tue, 19 Nov 2019 13:43:57 +0100 |
tags 28901 fixed
close 28901 27.1
quit
>>>>> On Mon, 18 Nov 2019 10:36:33 +0100, Lars Ingebrigtsen <larsi@gnus.org>
>>>>> said:
Lars> Robert Pluim <rpluim@gmail.com> writes:
>> You canʼt directly specify them, but you can at least remember the
>> previous settings:
Lars> [...]
>> +#ifdef HAVE_GTK3
>> + PangoFontDescription *desc
>> + = pango_font_description_from_string (default_name);
>> + gtk_font_chooser_set_font_desc (GTK_FONT_CHOOSER (w), desc);
>> + pango_font_description_free (desc);
>> +#else
>> + gtk_font_chooser_set_font (GTK_FONT_CHOOSER (w), default_name);
>> +#endif
Lars> Oh, cool! Sounds good to me. (Haven't tested the patch, though.)
Closing.
Committed to master as as b6db2ed1ea
Robert