2017-03-02 14:37:32 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
2019-04-12 15:43:47 +00:00
|
|
|
<template class="DinoUiConversationSelectorRow">
|
2017-03-02 14:37:32 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkRevealer" id="main_revealer">
|
|
|
|
<property name="transition-type">slide-down</property>
|
|
|
|
<property name="transition-duration">200</property>
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="reveal-child">True</property>
|
2017-03-02 14:37:32 +00:00
|
|
|
<child>
|
2017-09-01 10:42:14 +00:00
|
|
|
<object class="GtkBox">
|
2017-03-02 14:37:32 +00:00
|
|
|
<property name="orientation">horizontal</property>
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="margin-top">10</property>
|
|
|
|
<property name="margin-bottom">10</property>
|
2019-02-21 21:09:18 +00:00
|
|
|
<property name="margin-start">7</property>
|
|
|
|
<property name="margin-end">14</property>
|
2017-03-02 14:37:32 +00:00
|
|
|
<child>
|
2023-01-24 17:59:46 +00:00
|
|
|
<object class="DinoUiAvatarPicture" id="picture">
|
2024-04-25 07:07:06 +00:00
|
|
|
<property name="height-request">35</property> <!-- Conversation list avatar size -->
|
2023-01-24 17:59:46 +00:00
|
|
|
<property name="width-request">35</property>
|
2018-05-09 21:19:22 +00:00
|
|
|
<property name="valign">center</property>
|
2017-03-02 14:37:32 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2017-09-01 10:42:14 +00:00
|
|
|
<object class="GtkBox">
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="margin-start">10</property>
|
2017-03-02 14:37:32 +00:00
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
2017-09-01 10:42:14 +00:00
|
|
|
<object class="GtkBox">
|
2019-02-21 21:09:18 +00:00
|
|
|
<property name="valign">start</property>
|
2017-09-01 10:42:14 +00:00
|
|
|
<property name="orientation">horizontal</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="name_label">
|
|
|
|
<property name="max_width_chars">1</property>
|
|
|
|
<property name="ellipsize">end</property>
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="margin-end">7</property>
|
2017-09-01 10:42:14 +00:00
|
|
|
<property name="xalign">0</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2024-03-21 12:34:04 +00:00
|
|
|
<object class="GtkLabel" id="time_label">
|
|
|
|
<property name="hexpand">False</property>
|
|
|
|
<property name="xalign">1</property>
|
|
|
|
<attributes>
|
2024-04-25 07:07:06 +00:00
|
|
|
<attribute name="scale" value="0.7"/> <!-- Conversation list last message time -->
|
2024-03-21 12:34:04 +00:00
|
|
|
</attributes>
|
2017-09-01 10:42:14 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2017-03-02 14:37:32 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2017-09-01 10:42:14 +00:00
|
|
|
<object class="GtkBox">
|
2019-02-21 21:09:18 +00:00
|
|
|
<property name="valign">end</property>
|
2017-09-01 10:42:14 +00:00
|
|
|
<property name="orientation">horizontal</property>
|
2017-03-02 14:37:32 +00:00
|
|
|
<child>
|
2017-09-01 10:42:14 +00:00
|
|
|
<object class="GtkLabel" id="nick_label">
|
|
|
|
<property name="max_width_chars">15</property>
|
|
|
|
<property name="ellipsize">end</property>
|
2020-03-02 20:10:36 +00:00
|
|
|
<property name="valign">end</property>
|
2017-09-01 10:42:14 +00:00
|
|
|
<property name="xalign">0</property>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
2017-03-02 14:37:32 +00:00
|
|
|
<attributes>
|
2017-09-01 10:42:14 +00:00
|
|
|
<!--<attribute name="weight" value="bold"/>-->
|
2024-04-25 07:07:06 +00:00
|
|
|
<attribute name="scale" value="0.8"/> <!-- Converstion list last message sender name -->
|
2017-09-01 10:42:14 +00:00
|
|
|
</attributes>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="message_label">
|
|
|
|
<property name="max_width_chars">1</property>
|
|
|
|
<property name="ellipsize">end</property>
|
2022-02-14 13:55:59 +00:00
|
|
|
<property name="hexpand">True</property>
|
|
|
|
<property name="vexpand">True</property>
|
2020-03-02 20:10:36 +00:00
|
|
|
<property name="valign">end</property>
|
2017-09-01 10:42:14 +00:00
|
|
|
<property name="xalign">0</property>
|
|
|
|
<attributes>
|
2024-04-25 07:07:06 +00:00
|
|
|
<attribute name="scale" value="0.8"/> <!-- Conversation list last message text -->
|
2017-03-02 14:37:32 +00:00
|
|
|
</attributes>
|
|
|
|
</object>
|
|
|
|
</child>
|
2020-03-02 20:10:36 +00:00
|
|
|
<child>
|
2024-03-21 12:34:04 +00:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">horizontal</property>
|
2023-01-11 18:54:02 +00:00
|
|
|
<property name="margin-start">15</property>
|
2024-03-21 12:34:04 +00:00
|
|
|
<property name="spacing">6</property>
|
2020-03-02 20:10:36 +00:00
|
|
|
<child>
|
2024-03-21 12:34:04 +00:00
|
|
|
<object class="GtkLabel" id="unread_count_label">
|
|
|
|
<property name="vexpand">False</property>
|
|
|
|
<property name="visible">False</property>
|
|
|
|
<property name="xalign">0.5</property>
|
|
|
|
<attributes>
|
2024-04-25 07:07:06 +00:00
|
|
|
<attribute name="scale" value="0.6"/> <!-- Conversation list unread message -->
|
2024-03-21 12:34:04 +00:00
|
|
|
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
|
|
|
|
</attributes>
|
2020-03-02 20:10:36 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
2017-03-02 14:37:32 +00:00
|
|
|
<child>
|
2024-03-21 12:34:04 +00:00
|
|
|
<object class="GtkImage" id="pinned_image">
|
|
|
|
<property name="icon-name">view-pin-symbolic</property>
|
|
|
|
<property name="pixel-size">12</property>
|
|
|
|
<property name="visible">False</property>
|
2017-03-02 14:37:32 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2017-09-01 10:42:14 +00:00
|
|
|
</child>
|
2017-03-02 14:37:32 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|