GTK3 Porting Checklist

From Claws Mail FAQ
Revision as of 13:01, 19 March 2022 by Claws (talk | contribs) (→‎Does not work)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Does not work

  • Foldersel dialog doesn't show alternating colors in the folder list.
  • "gtk-can-change-accels" has been removed: 'GtkSettings:gtk-can-change-accels has been deprecated since version 3.10 and should not be used in newly-written code. This setting is ignored.'

It seems that the only way to re-enable this is to switch to GtkApplication, and write our own acclerator implementation. https://developer.gnome.org/gtk3/stable/GtkApplication.html#gtk-application-add-accelerator

Works, but is ugly

  • GtkSpinButton is too wide with the -/+ buttons being large and next to each other, instead of small and one above another like in GTK2.

Deprecated API

  • GtkBox -> GtkGrid (for GTK4)
  • GtkUIManager is deprecated in GTK3, to be removed in GTK4