You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

75 lines
3.5 KiB

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GListStore" id="error_list">
<property name="item-type">Error</property>
</object>
<template class="Session" parent="AdwBin">
<property name="child">
<object class="GtkOverlay">
<child type="overlay">
<object class="InAppNotification">
<property name="error-list">error_list</property>
<property name="visible" bind-source="content" bind-property="folded" bind-flags="sync-create"/>
</object>
</child>
<child>
<object class="GtkStack" id="stack">
<property name="visible-child">loading</property>
<property name="transition-type">crossfade</property>
<child>
<object class="GtkWindowHandle" id="loading">
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkHeaderBar">
<property name="show-title-buttons">True</property>
<style>
<class name="flat"/>
</style>
</object>
</child>
<child>
<object class="GtkSpinner">
<property name="spinning">True</property>
<property name="valign">center</property>
<property name="halign">center</property>
<property name="vexpand">True</property>
<style>
<class name="session-loading-spinner"/>
</style>
</object>
</child>
</object>
</property>
</object>
</child>
<child>
<object class="AdwLeaflet" id="content">
<property name="fold-threshold-policy">minimum</property>
<child>
<object class="Sidebar" id="sidebar">
<property name="compact" bind-source="content" bind-property="folded" bind-flags="sync-create"/>
<property name="room-list" bind-source="Session" bind-property="room-list" bind-flags="sync-create"/>
<property name="selected-room" bind-source="Session" bind-property="selected-room" bind-flags="sync-create | bidirectional"/>
<property name="selected-type" bind-source="Session" bind-property="selected-content-type" bind-flags="sync-create | bidirectional"/>
</object>
</child>
<child>
<object class="Content">
<property name="compact" bind-source="content" bind-property="folded" bind-flags="sync-create"/>
<property name="room" bind-source="Session" bind-property="selected-room" bind-flags="sync-create | bidirectional"/>
<property name="content-type" bind-source="Session" bind-property="selected-content-type" bind-flags="sync-create | bidirectional"/>
<property name="session">Session</property>
<property name="error-list">error_list</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</property>
</template>
</interface>