Commit a55b0572 authored by John Stowers's avatar John Stowers

[tweak] support font hinting

parent abb81e77
2.91.XX
* Add license (GPL3)
* Tweak shell clock to show date
* Tweak font hinting
2.91.92
* Initial Release
......
from gi.repository import Gtk
from gtweak.tweakmodel import Tweak, TweakGroup
from gtweak.widgets import GSettingsRangeTweak, GSettingsFontButtonTweak, GConfFontButtonTweak, build_horizontal_sizegroup
from gtweak.widgets import GSettingsRangeTweak, GSettingsFontButtonTweak, GConfFontButtonTweak, GSettingsComboTweak, build_horizontal_sizegroup
sg = build_horizontal_sizegroup()
......@@ -12,5 +12,7 @@ TWEAK_GROUPS = (
GSettingsFontButtonTweak("org.gnome.desktop.interface", "font-name", size_group=sg),
GSettingsFontButtonTweak("org.gnome.desktop.interface", "document-font-name", size_group=sg),
GSettingsFontButtonTweak("org.gnome.desktop.interface", "monospace-font-name", size_group=sg),
GConfFontButtonTweak("/apps/metacity/general/titlebar_font", str, size_group=sg)),
GConfFontButtonTweak("/apps/metacity/general/titlebar_font", str, size_group=sg),
GSettingsComboTweak("org.gnome.settings-daemon.plugins.xsettings", "hinting",
[(i, i.title()) for i in ("none", "slight", "medium", "full")], size_group=sg)),
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment