aboutsummaryrefslogtreecommitdiff
path: root/main/data/conversation_row.ui
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2023-01-11 19:54:02 +0100
committerfiaxh <git@lightrise.org>2023-01-11 19:54:02 +0100
commit75500dc767f2cf657c0fbb5d2a4d4557183ed2e9 (patch)
tree87f67a933f0459f966932531b427944bb9f67a1f /main/data/conversation_row.ui
parentcb3b19b01deb8460627578b885339e7528411f6f (diff)
downloaddino-75500dc767f2cf657c0fbb5d2a4d4557183ed2e9.tar.gz
dino-75500dc767f2cf657c0fbb5d2a4d4557183ed2e9.zip
Support pinning of conversations (locally)
fixes #290 fixes #1330
Diffstat (limited to 'main/data/conversation_row.ui')
-rw-r--r--main/data/conversation_row.ui33
1 files changed, 23 insertions, 10 deletions
diff --git a/main/data/conversation_row.ui b/main/data/conversation_row.ui
index fcfd22f0..7be699ba 100644
--- a/main/data/conversation_row.ui
+++ b/main/data/conversation_row.ui
@@ -88,20 +88,33 @@
</object>
</child>
<child>
- <object class="GtkRevealer" id="unread_count_revealer">
+ <object class="GtkRevealer" id="top_row_revealer">
<property name="transition-type">slide-right</property>
<property name="transition-duration">50</property>
<property name="reveal-child">True</property>
+ <property name="margin-start">15</property>
<child>
- <object class="GtkLabel" id="unread_count_label">
- <property name="vexpand">False</property>
- <property name="visible">False</property>
- <property name="margin-start">15</property>
- <property name="xalign">0.5</property>
- <attributes>
- <attribute name="scale" value="0.6"/>
- <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
- </attributes>
+ <object class="GtkBox">
+ <property name="orientation">horizontal</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="unread_count_label">
+ <property name="vexpand">False</property>
+ <property name="visible">False</property>
+ <property name="xalign">0.5</property>
+ <attributes>
+ <attribute name="scale" value="0.6"/>
+ <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
+ </attributes>
+ </object>
+ </child>
+ <child>
+ <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>
+ </object>
+ </child>
</object>
</child>
</object>