[Bug 1946794] Re: unity-tweak-tool: GLib-GIO-ERROR
Launchpad Bug Tracker
1946794 at bugs.launchpad.net
Sun Dec 5 01:22:28 UTC 2021
This bug was fixed in the package unity-tweak-tool - 0.0.7+-0ubuntu10
---------------
unity-tweak-tool (0.0.7+-0ubuntu10) jammy; urgency=medium
* debian/patches/more-new-fonts-schemas.patch:
- add "font-" to "antialiasing" and "hinting" in theme.py
(lp: #1946794)
-- Brett Bogert <bbogert24 at gmail.com> Sat, 04 Dec 2021 12:07:50 -0500
** Changed in: unity-tweak-tool (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1946794
Title:
unity-tweak-tool: GLib-GIO-ERROR
Status in unity-tweak-tool package in Ubuntu:
Fix Released
Bug description:
unity-tweak-tool_0.0.7+-0ubuntu9 is giving an GLib-GIO-ERROR:
(unity-tweak-tool:8927): GLib-GIO-ERROR **: 15:26:30.421: Settings schema 'org.gnome.desktop.interface' does not contain a key named 'antialiasing'
Trace/breakpoint trap (core dumped)
This is probably coming from /usr/lib/python3/dist-packages/UnityTweakTool/section/spaghetti/theme.py which is still referencing "antialiasing" and "hinting" instead of "font-aliasing"
and "font-hinting" as in the new schema in desktop.interface:
diff theme.py theme.py.fixed
166c166
< if gsettings.antialiasing.get_string('antialiasing') == 'none':
---
> if gsettings.antialiasing.get_string('font-antialiasing') == 'none':
168c168
< elif gsettings.antialiasing.get_string('antialiasing') == 'grayscale':
---
> elif gsettings.antialiasing.get_string('font-antialiasing') == 'grayscale':
170c170
< elif gsettings.antialiasing.get_string('antialiasing') == 'rgba':
---
> elif gsettings.antialiasing.get_string('font-antialiasing') == 'rgba':
174c174
< if gsettings.antialiasing.get_string('hinting') == 'none':
---
> if gsettings.antialiasing.get_string('font-hinting') == 'none':
176c176
< elif gsettings.antialiasing.get_string('hinting') == 'slight':
---
> elif gsettings.antialiasing.get_string('font-hinting') == 'slight':
178c178
< elif gsettings.antialiasing.get_string('hinting') == 'medium':
---
> elif gsettings.antialiasing.get_string('font-hinting') == 'medium':
180c180
< elif gsettings.antialiasing.get_string('hinting') == 'full':
---
> elif gsettings.antialiasing.get_string('font-hinting') == 'full':
Sorry for the late bug report but got tied up working on gtk3-nocsd
for GTK4.
If you don't have a Unity desktop to test on and want to test your changes
before commit I have a 21.10 machine setup with Unity for testing purposes
and will be glad to test it for you if needed.
Thanks,
Brett "WolfMan" Bogert
bbogert24 at gmail.com
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-tweak-tool/+bug/1946794/+subscriptions
More information about the Ubuntu-sponsors
mailing list