giantpinkrobots/varia

Use standard widgetry for app menu

bragefuglseth opened this issue · 1 comments

The app menu appears to be using non-standard widgetry. The menu items have centered text and are taller than usual:

Skjermbilde fra 2023-12-08 15-45-06

Instead of this, a GtkMenuModel should be attached to the button. This is the correct way to do it, so most other GNOME apps have example implementations that can be followed.

I have implemented a new menu using Gio.Menu. It should look more in-line with other GNOME apps now.
screenshot
Thanks for the heads up.