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