From 0ce6a8619bc053fe9fd288107370844c0f89a215 Mon Sep 17 00:00:00 2001
From: Andrei Voronin <91470240+Aristofan-Kif@users.noreply.github.com>
Date: Thu, 11 Apr 2024 18:05:57 +0300
Subject: [PATCH] Adding brighter icon for online status (#49)
Added two brighter version of status icons and made online status
more recognasible.
---
main/CMakeLists.txt | 1 +
main/data/gresource.xml | 1 +
.../scalable/status/dino-status-online-bright.svg | 10 ++++++++++
.../icons/scalable/status/dino-status-online.svg | 14 +++++++++-----
main/src/ui/occupant_menu/list_row.vala | 2 +-
5 files changed, 22 insertions(+), 6 deletions(-)
create mode 100644 main/data/icons/scalable/status/dino-status-online-bright.svg
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index d0098719..c8d0b606 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-online-bright.svg
icons/scalable/status/dino-status-offline.svg
icons/scalable/status/dino-tick-symbolic.svg
icons/scalable/status/dino-video-off-symbolic.svg
diff --git a/main/data/gresource.xml b/main/data/gresource.xml
index 41484562..b9e8291f 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-online-bright.svg
icons/scalable/status/dino-status-offline.svg
icons/scalable/status/dino-tick-symbolic.svg
icons/scalable/status/dino-video-off-symbolic.svg
diff --git a/main/data/icons/scalable/status/dino-status-online-bright.svg b/main/data/icons/scalable/status/dino-status-online-bright.svg
new file mode 100644
index 00000000..6b3668f6
--- /dev/null
+++ b/main/data/icons/scalable/status/dino-status-online-bright.svg
@@ -0,0 +1,10 @@
+
+
\ No newline at end of file
diff --git a/main/data/icons/scalable/status/dino-status-online.svg b/main/data/icons/scalable/status/dino-status-online.svg
index f5f828c7..6b3668f6 100644
--- a/main/data/icons/scalable/status/dino-status-online.svg
+++ b/main/data/icons/scalable/status/dino-status-online.svg
@@ -1,6 +1,10 @@
-
-
\ No newline at end of file
diff --git a/main/src/ui/occupant_menu/list_row.vala b/main/src/ui/occupant_menu/list_row.vala
index 8e437c23..3e5b37e9 100644
--- a/main/src/ui/occupant_menu/list_row.vala
+++ b/main/src/ui/occupant_menu/list_row.vala
@@ -43,7 +43,7 @@ public class ListRow : Object {
}
public void set_online() {
- status_image.icon_name = "dino-status-online";
+ status_image.icon_name = "dino-status-online-bright";
}
public void set_offline() {