Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gtk): fix issue detecting preferred color scheme on older systems (…
…#4035) On my system (pop-os 22.04 LTS) with system theme and seperate light and dark themes, ghostty always defaults to light mode. Switches between light and dark mode are properly handled. In the logs this error is reported: error(gtk): unable to get current color scheme: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “ReadOne” The spec notes that the other functions are "[Deprecated, use ReadOne instead.](https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Settings.html)" so using ReadOne is cerainly the correct path. I've managed to fix this on my system by checking for the error and falling back to an implementation using the deprecated Read. Discussion: #3704 Issue: #4038
- Loading branch information