73 lines
3.5 KiB
XML
73 lines
3.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="Content" parent="AdwBin">
|
|
<property name="vexpand">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="child">
|
|
<object class="GtkOverlay">
|
|
<child type="overlay">
|
|
<object class="InAppNotification">
|
|
<property name="error-list" bind-source="Content" bind-property="error-list" bind-flags="sync-create"/>
|
|
<property name="visible" bind-source="Content" bind-property="compact" bind-flags="sync-create | invert-boolean"/>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkStack" id="stack">
|
|
<property name="transition-type">crossfade</property>
|
|
<child>
|
|
<object class="GtkBox" id="empty_page">
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="AdwHeaderBar" id="headerbar">
|
|
<property name="show-start-title-buttons" bind-source="Content" bind-property="compact" bind-flags="sync-create"/>
|
|
<child type="start">
|
|
<object class="GtkRevealer">
|
|
<property name="transition-type">crossfade</property>
|
|
<property name="reveal-child" bind-source="Content" bind-property="compact" bind-flags="sync-create"/>
|
|
<property name="child">
|
|
<object class="GtkButton" id="back">
|
|
<property name="icon-name">go-previous-symbolic</property>
|
|
<property name="action-name">content.go-back</property>
|
|
</object>
|
|
</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="AdwStatusPage">
|
|
<property name="visible">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="icon-name">empty-page</property>
|
|
<property name="title" translatable="yes">No Room Selected</property>
|
|
<property name="description" translatable="yes">Join a room to start chatting.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="ContentRoomHistory" id="room_history">
|
|
<property name="compact" bind-source="Content" bind-property="compact" bind-flags="sync-create"/>
|
|
<property name="room" bind-source="Content" bind-property="room" bind-flags="sync-create"/>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="ContentInvite" id="invite">
|
|
<property name="compact" bind-source="Content" bind-property="compact" bind-flags="sync-create"/>
|
|
<property name="room" bind-source="Content" bind-property="room" bind-flags="sync-create"/>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="ContentExplore" id="explore">
|
|
<property name="compact" bind-source="Content" bind-property="compact" bind-flags="sync-create"/>
|
|
<property name="session" bind-source="Content" bind-property="session" bind-flags="sync-create"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</property>
|
|
</template>
|
|
</interface>
|
|
|