cvfosammmm / Setzer

LaTeX editor written in Python with Gtk
https://www.cvfosammmm.org/setzer/
Other
388 stars 34 forks source link

Preparations for GTK 4 part 1 #338

Closed oscfdezdz closed 1 year ago

oscfdezdz commented 1 year ago

Set of changes that can be made in GTK 3 to ease the transition to GTK 4 without visual changes or how users interact with Setzer. I'm sure there are more changes possible to smooth the transition, but these are fine for a first round. https://docs.gtk.org/gtk4/migrating-3to4.html

cvfosammmm commented 1 year ago

I was going to comment on the Gtk4 issue. I don't think we should do it this way, but I'll leave this open for reference. Will comment now on the issue.

oscfdezdz commented 1 year ago

Since it remains for reference, Gtk.Menu and Gtk.MenuItem are also gone in GTK 4, migration guide suggests using Gtk.PopoverMenu or Gtk.Popover instead. It can be made before updating dependencies as the changes in this PR.

cvfosammmm commented 1 year ago

Doesn't make sense to leave this open actually. The port is progressing well btw.