fractal/fractal-gtk/res/ui/add_room_menu.ui
Christopher Davis 784b45c537 add_room_menu: Use menu model
Instead of manually building the menu,
we can use a menu model. In GTK4 ModelButton
is private, so menu models are the way
to create proper menus for popovers.
2020-11-06 08:12:13 +00:00

27 lines
889 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<menu id="add_room_menu_model">
<section>
<item>
<attribute name="label" translatable="yes">Room Directory</attribute>
<attribute name="action">app.directory</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Join Room</attribute>
<attribute name="action">app.join_room</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">New Room</attribute>
<attribute name="action">app.new_room</attribute>
</item>
<item>
<attribute name="label" translatable="yes">New Direct Chat</attribute>
<attribute name="action">app.start_chat</attribute>
</item>
</section>
</menu>
</interface>