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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user