aboutsummaryrefslogtreecommitdiff
path: root/main/data
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-08-17 17:58:03 -0400
committerfrosty <gabriel@bwaaa.monster>2026-08-17 17:58:03 -0400
commitb35e793a5dd52cc345747f531653270765454934 (patch)
tree843022cb45dd33c94c750bbee27b89f3d474d558 /main/data
parentf9e3b8ba7da220746151179ed10a90c2ac215ffc (diff)
Begin work on colourable accounts in message list
Diffstat (limited to 'main/data')
-rw-r--r--main/data/conversation_row.ui7
-rw-r--r--main/data/preferences_window/account_preferences_subpage.ui11
2 files changed, 18 insertions, 0 deletions
diff --git a/main/data/conversation_row.ui b/main/data/conversation_row.ui
index 9b113427..461c1440 100644
--- a/main/data/conversation_row.ui
+++ b/main/data/conversation_row.ui
@@ -14,6 +14,13 @@
<property name="margin-start">2</property>
<property name="margin-end">4</property>
<child>
+ <object class="GtkDrawingArea" id="account_color_indicator">
+ <property name="width-request">4</property>
+ <property name="margin-end">6</property>
+ <property name="vexpand">True</property>
+ </object>
+ </child>
+ <child>
<object class="DinoUiAvatarPicture" id="picture">
<property name="height-request">35</property>
<property name="width-request">35</property>
diff --git a/main/data/preferences_window/account_preferences_subpage.ui b/main/data/preferences_window/account_preferences_subpage.ui
index bb458e74..9860de27 100644
--- a/main/data/preferences_window/account_preferences_subpage.ui
+++ b/main/data/preferences_window/account_preferences_subpage.ui
@@ -78,6 +78,17 @@
</object>
</child>
<child>
+ <object class="AdwActionRow">
+ <property name="title" translatable="yes">Conversation color</property>
+ <property name="subtitle" translatable="yes">Used to distinguish this account in the conversation list</property>
+ <child type="suffix">
+ <object class="GtkBox" id="account_color_box">
+ <property name="valign">center</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
<object class="AdwActionRow" id="password_change">
<property name="title" translatable="yes">Password</property>
<child type="suffix">