aboutsummaryrefslogtreecommitdiff
path: root/main/data
diff options
context:
space:
mode:
Diffstat (limited to 'main/data')
-rw-r--r--main/data/conversation_list_titlebar.ui13
-rw-r--r--main/data/gresource.xml1
-rw-r--r--main/data/icons/scalable/status/dino-status-xa.svg6
-rw-r--r--main/data/menu_presence.ui23
4 files changed, 43 insertions, 0 deletions
diff --git a/main/data/conversation_list_titlebar.ui b/main/data/conversation_list_titlebar.ui
index afe10926..9d02bad7 100644
--- a/main/data/conversation_list_titlebar.ui
+++ b/main/data/conversation_list_titlebar.ui
@@ -29,5 +29,18 @@
</child>
</object>
</child>
+ <child type="end">
+ <object class="GtkMenuButton" id="presence_button">
+ <property name="halign">end</property>
+ <property name="hexpand">True</property>
+ <property name="has-frame">False</property>
+ <child>
+ <object class="GtkImage">
+ <property name="icon-name">dino-status-chat</property>
+ <property name="icon-size">normal</property>
+ </object>
+ </child>
+ </object>
+ </child>
</object>
</interface>
diff --git a/main/data/gresource.xml b/main/data/gresource.xml
index 304fa7a4..817c796b 100644
--- a/main/data/gresource.xml
+++ b/main/data/gresource.xml
@@ -65,6 +65,7 @@
<file>join_room_dialog2.ui</file>
<file>menu_add.ui</file>
<file>menu_app.ui</file>
+ <file>menu_presence.ui</file>
<file>menu_conversation.ui</file>
<file>menu_encryption.ui</file>
<file>message_item_widget_edit_mode.ui</file>
diff --git a/main/data/icons/scalable/status/dino-status-xa.svg b/main/data/icons/scalable/status/dino-status-xa.svg
new file mode 100644
index 00000000..35bac866
--- /dev/null
+++ b/main/data/icons/scalable/status/dino-status-xa.svg
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="28.222mm" height="28.222mm" version="1.1" viewBox="0 0 99.999997 99.999997" xmlns="http://www.w3.org/2000/svg">
+ <g transform="translate(-62.857 -678.08)">
+ <circle cx="112.86" cy="728.08" r="50" style="fill-rule:evenodd;fill:#e57373"/>
+ </g>
+</svg>
diff --git a/main/data/menu_presence.ui b/main/data/menu_presence.ui
new file mode 100644
index 00000000..71ca8677
--- /dev/null
+++ b/main/data/menu_presence.ui
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <menu id="menu_presence">
+ <section>
+ <item>
+ <attribute name="action">app.presence_online</attribute>
+ <attribute name="label" translatable="yes">Online</attribute>
+ </item>
+ <item>
+ <attribute name="action">app.presence_dnd</attribute>
+ <attribute name="label" translatable="yes">Do not disturb</attribute>
+ </item>
+ <item>
+ <attribute name="action">app.presence_away</attribute>
+ <attribute name="label" translatable="yes">Away</attribute>
+ </item>
+ <item>
+ <attribute name="action">app.presence_xaway</attribute>
+ <attribute name="label" translatable="yes">Unavailable</attribute>
+ </item>
+ </section>
+ </menu>
+</interface>