1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-05-21 12:39:29 +00:00

main-window: Set menu-model directly on the GtkMenuButton

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
Anton Lazarev 2024-01-11 22:21:32 -08:00
parent 543a55d741
commit b7789a59d1

View file

@ -21,7 +21,7 @@
</child>
<child type="end">
<object class="GtkMenuButton">
<property name="popover">menu_popover</property>
<property name="menu-model">app-menu</property>
<property name="icon-name">open-menu-symbolic</property>
</object>
</child>
@ -146,9 +146,6 @@
</object>
</child>
</object>
<object class="GtkPopoverMenu" id="menu_popover">
<property name="menu-model">app-menu</property>
</object>
<menu id="app-menu">
<section>
<item>