From ffacf70a4f0f981dfe535871ac45fde1ca7372e2 Mon Sep 17 00:00:00 2001
From: Andrei Voronin <91470240+Aristofan-Kif@users.noreply.github.com>
Date: Tue, 9 Apr 2024 15:04:52 +0300
Subject: [PATCH] Display user status online/offline with circles (#40)
Adds a display of the user's offline/online status through red and green circles, respectively.
---
main/CMakeLists.txt | 1 +
main/data/gresource.xml | 1 +
.../icons/scalable/status/dino-status-offline.svg | 11 +++++++++++
main/data/occupant_list_item.ui | 10 ++++------
main/src/ui/occupant_menu/list_row.vala | 15 +++++++--------
5 files changed, 24 insertions(+), 14 deletions(-)
create mode 100644 main/data/icons/scalable/status/dino-status-offline.svg
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index b3ba9255..d0098719 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -49,6 +49,7 @@ set(RESOURCE_LIST
icons/scalable/status/dino-status-chat.svg
icons/scalable/status/dino-status-dnd.svg
icons/scalable/status/dino-status-online.svg
+ icons/scalable/status/dino-status-offline.svg
icons/scalable/status/dino-tick-symbolic.svg
icons/scalable/status/dino-video-off-symbolic.svg
icons/scalable/status/dino-video-symbolic.svg
diff --git a/main/data/gresource.xml b/main/data/gresource.xml
index 637da159..41484562 100644
--- a/main/data/gresource.xml
+++ b/main/data/gresource.xml
@@ -51,6 +51,7 @@
icons/scalable/status/dino-status-chat.svg
icons/scalable/status/dino-status-dnd.svg
icons/scalable/status/dino-status-online.svg
+ icons/scalable/status/dino-status-offline.svg
icons/scalable/status/dino-tick-symbolic.svg
icons/scalable/status/dino-video-off-symbolic.svg
icons/scalable/status/dino-video-symbolic.svg
diff --git a/main/data/icons/scalable/status/dino-status-offline.svg b/main/data/icons/scalable/status/dino-status-offline.svg
new file mode 100644
index 00000000..544dfca0
--- /dev/null
+++ b/main/data/icons/scalable/status/dino-status-offline.svg
@@ -0,0 +1,11 @@
+
+
\ No newline at end of file
diff --git a/main/data/occupant_list_item.ui b/main/data/occupant_list_item.ui
index 72586191..631dd574 100644
--- a/main/data/occupant_list_item.ui
+++ b/main/data/occupant_list_item.ui
@@ -15,7 +15,8 @@
-