Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port to gtk4 #561

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft

port to gtk4 #561

wants to merge 13 commits into from

Conversation

deltragon
Copy link

@deltragon deltragon commented Jan 2, 2024

Based on #560, will rebase the first two commits away once that is merged.
Needs #558 for the trayicon - with the trayicon plugin disabled, this can be tested as-is.

The changes in the .glade xml files are rather noisy, they were partially done using gtk-builder-tool.
I mostly made sure that things still looked correct visually after running the tool.

Opening this as draft for now, as it relies on the two PRs above. Additionally, this is a rather big PR, and I'd like to split it into things that are backwards compatible with gtk3 (like most changes in the .glade files) and things that are not.
It also likely needs some changes in the configurations/dependencies.

Fixes #367.
Fixes #521.
Fixes #473.

Gtk.main() and Gtk.main_quit() are dropped in gtk4 in favor of
subclassing Gtk.Application.

This commit also moves argument handling from a separate thread to
GtkApplication.do_startup().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant