MightyCreak / diffuse

Diffuse is a graphical tool for comparing and merging text files. It can retrieve files for comparison from Bazaar, CVS, Darcs, Git, Mercurial, Monotone, RCS, Subversion, and SVK repositories.
http://mightycreak.github.io/diffuse/
GNU General Public License v2.0
260 stars 46 forks source link

Upgrade to GTK4 #143

Open MightyCreak opened 2 years ago

MightyCreak commented 2 years ago

Right now Diffuse is rocking GTK3. Any contribution is welcome to migrate to GTK4 😉

krlmlr commented 1 year ago

Will this give us the native menu on macOS?

MightyCreak commented 1 year ago

It is apparently using Quartz, so I'm not sure but there is a chance it would support native menu.

krlmlr commented 1 year ago

The project page https://wiki.gnome.org/Projects/GTK/OSX mentions

GTK+ Integration for the Mac OS X desktop, like the menubar, dock and app bundles

with a link to http://gitlab.gnome.org/GNOME/gtk-mac-integration/ .

krlmlr commented 1 year ago

The README in the integration library mentions that

New Gtk3 applications should prefer the GApplication/GtkApplication and GMenuModel/GMenu APIs which make this library unnecessary.

and that this integration library won't even work in Gtk4.

MightyCreak commented 1 year ago

Good to know, so to have a better macOS X integration, just using GTK3's GApplication/GtkApplication and GMenuModel/GMenu would be enough? Interesting...

But that would probably be another issue as it's not related to GTK4.