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