Fix notifications (#51)
Hi,
I fixed the notifications buttons ( #51 (closed)) by using the action!
macro instead of klass.install_action
, it is also more coherent with how the action are added in app.rs
and the gtk-rs book. I also added X-GNOME-UsesNotifications=true
in the desktop file, as per https://gtk-rs.org/gtk-rs-core/stable/latest/docs/gio/struct.Notification.html.
Thanks
PS: I'm not super super familiar with Gtk development so it's just my best attempt at debugging this issue, it might not be the best solution but it works.