From: Lars Ingebrigtsen <larsi@gnus.org>
To: Robert Pluim <rpluim@gmail.com>
Cc: Faré <fahree@gmail.com>, 28901@debbugs.gnu.org
Subject: bug#28901: 25.3; Font selector fails to remember current font and size
Date: Mon, 18 Nov 2019 10:36:33 +0100 [thread overview]
Message-ID: <87tv71r0f2.fsf@gnus.org> (raw)
In-Reply-To: <m2a78to7cx.fsf@gmail.com> (Robert Pluim's message of "Mon, 18 Nov 2019 10:34:54 +0100")
Robert Pluim <rpluim@gmail.com> writes:
> You canʼt directly specify them, but you can at least remember the
> previous settings:
[...]
> +#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
Oh, cool! Sounds good to me. (Haven't tested the patch, though.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2019-11-18 9:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-19 16:02 bug#28901: 25.3; Font selector fails to remember current font and size Faré
2019-11-17 8:00 ` Lars Ingebrigtsen
2019-11-17 21:16 ` Robert Pluim
2019-11-18 9:14 ` Lars Ingebrigtsen
2019-11-18 9:34 ` Robert Pluim
2019-11-18 9:36 ` Lars Ingebrigtsen [this message]
2019-11-19 12:43 ` Robert Pluim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tv71r0f2.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=28901@debbugs.gnu.org \
--cc=fahree@gmail.com \
--cc=rpluim@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).