fractal/data/resources/ui/content.ui
Julian Sparber c11393e3f6 session: Improve accessibility and focus
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/197

Room history navigation isn't good yet, but this improves navigation by a lot.
2022-04-13 15:22:33 +00:00

90 lines
4.1 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="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="can-focus">False</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"/>
</object>
</child>
<child>
<object class="ContentInvite" id="invite">
<property name="compact" bind-source="Content" bind-property="compact" 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>
<child>
<object class="GtkBox" id="verification_page">
<property name="orientation">vertical</property>
<child>
<object class="AdwHeaderBar">
<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">
<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="GtkScrolledWindow">
<child>
<object class="IdentityVerificationWidget" id="identity_verification_widget"/>
</child>
</object>
</child>
</object>
</child>
</object>
</property>
</template>
</interface>