Switch away from deprecated GtkShortcutsWindow#274
Switch away from deprecated GtkShortcutsWindow#274linkmauve wants to merge 1 commit intomarin-m:mainfrom
GtkShortcutsWindow#274Conversation
libadwaita now provides AdwShortcutsDialog, which integrates much better with the rest of the application, has a built-in search entry (well, we only got five shortcuts, but still!), doesn’t popup a different window, and doesn’t require any special code to handle as it is setup by the AdwApplication automatically. I’ve also added a menu entry to display this dialog, in addition to the <Primary>question shortcut to make it more easily discoverable. This bumps the minimum libadwaita version from 1.5 to 1.8, I don’t know what’s your policy related to those bumps.
d1b5e9f to
03c7c74
Compare
|
Hello, The current target for SongRec is The compatibility is needed because we still push updates for the current Ubuntu LTS through the PPA distribution. Regards, |
|
Hmm, I get deprecation warnings from Although I guess deprecation means nothing as long as we stay on GTK 4. |
This would incur some conditional compilation overhead, including having conditions around the loaded resource files, as Gtk.Builder won't accept to load a file containing an unknown widget: Also it would require not to have incompatible symbols linked to the ELF binary
Indeed it's only informative |
libadwaita now provides
AdwShortcutsDialog, which integrates much better with the rest of the application, has a built-in search entry (well, we only got five shortcuts, but still!), doesn’t popup a different window, and doesn’t require any special code to handle as it is setup by theAdwApplicationautomatically.I’ve also added a menu entry to display this dialog, in addition to the
<Primary>questionshortcut to make it more easily discoverable.This bumps the minimum libadwaita version from 1.5 to 1.8, I don’t know what’s your policy related to those bumps.