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.
 
 
 

90 lines
3.4 KiB

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="ContentMessageRow" parent="AdwBin">
<child>
<object class="GtkBox">
<property name="spacing">10</property>
<child>
<object class="ComponentsAvatar" id="avatar">
<property name="size">36</property>
<property name="valign">start</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child>
<object class="GtkBox" id="header">
<property name="spacing">10</property>
<child>
<object class="GtkLabel" id="display_name">
<property name="hexpand">true</property>
<property name="halign">start</property>
<property name="ellipsize">end</property>
<property name="selectable">True</property>
<style>
<class name="heading"/>
<class name="accent"/>
</style>
</object>
</child>
<child type="end">
<object class="GtkLabel" id="timestamp">
<style>
<class name="caption"/>
<class name="timestamp"/>
<class name="dim-label"/>
</style>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="spacing">10</property>
<child>
<object class="ContentMessageContent" id="content">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<style>
<class name="event-content"/>
</style>
</object>
</child>
<child type="end">
<object class="GtkImage">
<style>
<class name="dim-label"/>
</style>
<property name="icon-name">document-edit-symbolic</property>
<property name="tooltip-text" translatable="yes">Edited</property>
<binding name="visible">
<lookup name="is-edited" type="RoomEvent">
<lookup name="event">ContentMessageRow</lookup>
</lookup>
</binding>
</object>
</child>
</object>
</child>
<child>
<object class="ContentMessageReactionList" id="reactions"/>
</child>
<child>
<object class="ContentReadReceiptsList" id="read_receipts">
<binding name="visible">
<closure type="gboolean" function="invert_boolean">
<lookup name="is-empty" type="ReadReceipts">
<lookup name="list">read_receipts</lookup>
</lookup>
</closure>
</binding>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>