After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726476 - New fontchooser dialog doesn't update font list upon change
New fontchooser dialog doesn't update font list upon change
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2014-03-16 20:42 UTC by Behdad Esfahbod
Modified: 2014-03-22 02:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
font chooser: Update font list on font changes (2.52 KB, patch)
2014-03-22 02:38 UTC, Matthias Clasen
committed Details | Review

Description Behdad Esfahbod 2014-03-16 20:42:39 UTC
Try adding a font or removing it from ~/.fonts/.  Gtk+ receives a notification from g-s-d and send s theme-changed signal, so widgets redraw themselves.  But new font dialog doesn't seem to update its font list.  Old one used to do correctly (after I fixed it to not crash).
Comment 1 Matthias Clasen 2014-03-22 02:38:51 UTC
Created attachment 272611 [details] [review]
font chooser: Update font list on font changes

We do get a style-updated emission when new fonts are installed.
Update the font list in this case.
Comment 2 Matthias Clasen 2014-03-22 02:55:27 UTC
Attachment 272611 [details] pushed as d669926 - font chooser: Update font list on font changes