aboutsummaryrefslogtreecommitdiff
path: root/main/data/conversation_selector
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-03-29 20:23:47 +0200
committerfiaxh <git@lightrise.org>2020-03-29 20:24:39 +0200
commit12cd56612dd6edd056e2cd8aae59ea3ae8f05d1e (patch)
tree1da6667e85128aad0c2992b3c2b490f42defce6f /main/data/conversation_selector
parent853dfa2d6f0d1300b096f0c6a12ca179208f5287 (diff)
downloaddino-12cd56612dd6edd056e2cd8aae59ea3ae8f05d1e.tar.gz
dino-12cd56612dd6edd056e2cd8aae59ea3ae8f05d1e.zip
Store entity identity info, use it in conversation list tooltips
Diffstat (limited to 'main/data/conversation_selector')
-rw-r--r--main/data/conversation_selector/chat_row_tooltip.ui22
-rw-r--r--main/data/conversation_selector/conversation_row.ui148
2 files changed, 0 insertions, 170 deletions
diff --git a/main/data/conversation_selector/chat_row_tooltip.ui b/main/data/conversation_selector/chat_row_tooltip.ui
deleted file mode 100644
index 6596cd62..00000000
--- a/main/data/conversation_selector/chat_row_tooltip.ui
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<interface>
- <object class="GtkBox" id="main_box">
- <property name="orientation">vertical</property>
- <property name="visible">True</property>
- <child>
- <object class="GtkLabel" id="jid_label">
- <property name="xalign">0</property>
- <property name="visible">True</property>
- <attributes>
- <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
- </attributes>
- </object>
- </child>
- <child>
- <object class="GtkBox" id="inner_box">
- <property name="orientation">vertical</property>
- <property name="visible">True</property>
- </object>
- </child>
- </object>
-</interface>
diff --git a/main/data/conversation_selector/conversation_row.ui b/main/data/conversation_selector/conversation_row.ui
deleted file mode 100644
index 7772c907..00000000
--- a/main/data/conversation_selector/conversation_row.ui
+++ /dev/null
@@ -1,148 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<interface>
- <template class="DinoUiConversationSelectorRow">
- <property name="visible">True</property>
- <child>
- <object class="GtkRevealer" id="main_revealer">
- <property name="transition-type">slide-down</property>
- <property name="transition-duration">200</property>
- <property name="reveal-child">False</property>
- <property name="visible">True</property>
- <child>
- <object class="GtkBox">
- <property name="orientation">horizontal</property>
- <property name="margin">10</property>
- <property name="margin-start">7</property>
- <property name="margin-end">14</property>
- <property name="visible">True</property>
- <child>
- <object class="DinoUiAvatarImage" id="image">
- <property name="height">35</property>
- <property name="width">35</property>
- <property name="valign">center</property>
- <property name="visible">True</property>
- </object>
- </child>
- <child>
- <object class="GtkBox">
- <property name="margin-left">10</property>
- <property name="orientation">vertical</property>
- <property name="visible">True</property>
- <child>
- <object class="GtkBox">
- <property name="valign">start</property>
- <property name="visible">True</property>
- <property name="orientation">horizontal</property>
- <child>
- <object class="GtkLabel" id="name_label">
- <property name="max_width_chars">1</property>
- <property name="ellipsize">end</property>
- <property name="expand">True</property>
- <property name="margin-right">7</property>
- <property name="xalign">0</property>
- <property name="visible">True</property>
- </object>
- </child>
- <child>
- <object class="GtkRevealer" id="time_revealer">
- <property name="transition-type">slide-right</property>
- <property name="transition-duration">100</property>
- <property name="reveal-child">True</property>
- <property name="visible">True</property>
- <child>
- <object class="GtkLabel" id="time_label">
- <property name="hexpand">False</property>
- <property name="xalign">1</property>
- <attributes>
- <attribute name="scale" value="0.7"/>
- </attributes>
- </object>
- </child>
- </object>
- </child>
- </object>
- </child>
- <child>
- <object class="GtkBox">
- <property name="valign">end</property>
- <property name="visible">True</property>
- <property name="orientation">horizontal</property>
- <child>
- <object class="GtkLabel" id="nick_label">
- <property name="max_width_chars">15</property>
- <property name="ellipsize">end</property>
- <property name="xalign">0</property>
- <style>
- <class name="dim-label"/>
- </style>
- <attributes>
- <!--<attribute name="weight" value="bold"/>-->
- <attribute name="scale" value="0.8"/>
- </attributes>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="message_label">
- <property name="max_width_chars">1</property>
- <property name="ellipsize">end</property>
- <property name="expand">True</property>
- <property name="xalign">0</property>
- <attributes>
- <attribute name="scale" value="0.8"/>
- </attributes>
- </object>
- </child>
- </object>
- </child>
- </object>
- </child>
- <child>
- <object class="GtkBox">
- <property name="orientation">vertical</property>
- <property name="visible">True</property>
- <child>
- <object class="GtkBox">
- <property name="vexpand">True</property>
- <property name="visible">True</property>
- </object>
- </child>
- <child>
- <object class="GtkRevealer" id="xbutton_revealer">
- <property name="transition-type">slide-left</property>
- <property name="transition-duration">100</property>
- <property name="reveal-child">False</property>
- <property name="visible">True</property>
- <child>
- <object class="GtkButton" id="x_button">
- <property name="vexpand">False</property>
- <property name="visible">True</property>
- <style>
- <class name="conversation_list_row_xbutton"/>
- <class name="circular"/>
- <class name="flat"/>
- </style>
- <child>
- <object class="GtkImage">
- <property name="icon-name">window-close-symbolic</property>
- <property name="icon-size">1</property>
- <property name="visible">True</property>
- </object>
- </child>
- </object>
- </child>
- </object>
- </child>
- <child>
- <object class="GtkBox">
- <property name="vexpand">True</property>
- <property name="visible">True</property>
- </object>
- </child>
- </object>
- </child>
- </object>
- </child>
- </object>
- </child>
- </template>
-</interface>