This has ended up being a much more significant refactor than intended, c'est la vie, this may still be useful.
What's happened here:
- Moved hamburger menu to app-menu and GAction
- Added Quit action
- Changed to ApplicationWindow from Window so GAction works
- Moved startup logic into
startup
&activate
handlers so ApplicationWindow works - Changed FileChooserDialog to FileChooserNative for flatpak integration
- Added 'Keyboard Shortcuts' and a quit shortcut so it isn't empty
- Resources are moved to
/org/gnome/Hammond/
from/org/gnome/hammond/
so auto resources for appmenu/shortcuts work
Getting receiver
to be in the accessible in active
with sender
in startup
was something of a battle but a nights sleep can do wonders