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 504250 - Allow specification of window title and documents fonts in index.theme
Allow specification of window title and documents fonts in index.theme
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] Appearance
git master
Other All
: Normal enhancement
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-12-18 14:20 UTC by Luca Ferretti
Modified: 2007-12-21 19:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
The proposed patch (6.79 KB, patch)
2007-12-18 14:23 UTC, Luca Ferretti
reviewed Details | Review
Updated patch (6.79 KB, patch)
2007-12-20 10:51 UTC, Luca Ferretti
accepted-commit_now Details | Review

Description Luca Ferretti 2007-12-18 14:20:29 UTC
GNOME [meta]themes support 3 keys in index.theme in order to specify the font (family and size) to use in applications (ApplicationFont), on desktop items (DesktopFont) and when a fixed width font is needed (MonospaceFont).

But the Font section of Appearance capplet allows you to set up fonts for documents and window titles too.

So, currently, if you want or have to specify font in theme (i.e. a11y *LargePrint themes), you will have a semi-configured enviroment

Here is a patch to add keys for documents (DocumentsFont) and for window title (WindowtitleFont). The code is a simple cut and paste, just change the names.
Comment 1 Luca Ferretti 2007-12-18 14:23:21 UTC
Created attachment 101182 [details] [review]
The proposed patch

Add 2 new supported keys to X-GNOME-Metatheme section in index.theme:
  * DocumentsFont
    To set up documents fonts (gconf:/desktop/gnome/interface/document_font_name)
  * WindowtitleFont
    To set up windows title fonts (gconf:/apps/metacity/general/titlebar_font)
Comment 2 Jens Granseuer 2007-12-18 15:19:50 UTC
WindowtitleFont needs to become WindowTitleFont. Otherwise looks good.
Comment 3 Luca Ferretti 2007-12-20 10:51:49 UTC
Created attachment 101310 [details] [review]
Updated patch

Use WindowTitleFont as requested
Comment 4 Luca Ferretti 2007-12-21 19:47:04 UTC
Commited on trunk, thanks