From 384ef1d3f15c82af1a4647b0ee704f77919ff2b1 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sun, 10 Dec 2023 13:30:02 +0100 Subject: Conversation details dialog: Fix notification+block icons --- main/CMakeLists.txt | 3 +++ main/data/gresource.xml | 3 +++ main/data/icons/scalable/status/dino-bell-large-none-symbolic.svg | 2 ++ main/data/icons/scalable/status/dino-bell-large-symbolic.svg | 2 ++ main/data/icons/scalable/status/dino-block-symbolic.svg | 7 +++++++ main/src/windows/conversation_details.vala | 4 ++-- 6 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 main/data/icons/scalable/status/dino-bell-large-none-symbolic.svg create mode 100644 main/data/icons/scalable/status/dino-bell-large-symbolic.svg create mode 100644 main/data/icons/scalable/status/dino-block-symbolic.svg diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 437a84b9..9a7cb189 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -39,6 +39,9 @@ set(RESOURCE_LIST icons/scalable/mimetypes/dino-file-table-symbolic.svg icons/scalable/mimetypes/dino-file-video-symbolic.svg + icons/scalable/status/dino-bell-large-none-symbolic.svg + icons/scalable/status/dino-bell-large-symbolic.svg + icons/scalable/status/dino-block-symbolic.svg icons/scalable/status/dino-double-tick-symbolic.svg icons/scalable/status/dino-party-popper-symbolic.svg icons/scalable/status/dino-security-high-symbolic.svg diff --git a/main/data/gresource.xml b/main/data/gresource.xml index 503503c9..282838e0 100644 --- a/main/data/gresource.xml +++ b/main/data/gresource.xml @@ -40,6 +40,9 @@ icons/scalable/mimetypes/dino-file-table-symbolic.svg icons/scalable/mimetypes/dino-file-video-symbolic.svg icons/scalable/status/dino-double-tick-symbolic.svg + icons/scalable/status/dino-bell-large-none-symbolic.svg + icons/scalable/status/dino-bell-large-symbolic.svg + icons/scalable/status/dino-block-symbolic.svg icons/scalable/status/dino-party-popper-symbolic.svg icons/scalable/status/dino-security-high-symbolic.svg icons/scalable/status/dino-status-away.svg diff --git a/main/data/icons/scalable/status/dino-bell-large-none-symbolic.svg b/main/data/icons/scalable/status/dino-bell-large-none-symbolic.svg new file mode 100644 index 00000000..b6bc8b65 --- /dev/null +++ b/main/data/icons/scalable/status/dino-bell-large-none-symbolic.svg @@ -0,0 +1,2 @@ + + diff --git a/main/data/icons/scalable/status/dino-bell-large-symbolic.svg b/main/data/icons/scalable/status/dino-bell-large-symbolic.svg new file mode 100644 index 00000000..86a6ca20 --- /dev/null +++ b/main/data/icons/scalable/status/dino-bell-large-symbolic.svg @@ -0,0 +1,2 @@ + + diff --git a/main/data/icons/scalable/status/dino-block-symbolic.svg b/main/data/icons/scalable/status/dino-block-symbolic.svg new file mode 100644 index 00000000..5e938c6d --- /dev/null +++ b/main/data/icons/scalable/status/dino-block-symbolic.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/main/src/windows/conversation_details.vala b/main/src/windows/conversation_details.vala index 099412d1..1dac02c7 100644 --- a/main/src/windows/conversation_details.vala +++ b/main/src/windows/conversation_details.vala @@ -64,7 +64,7 @@ namespace Dino.Ui.ConversationDetails { } private void update_blocked_button() { - block_button_content.icon_name = "action-unavailable-symbolic"; + block_button_content.icon_name = "dino-block-symbolic"; block_button_content.label = model.blocked ? _("Blocked") : _("Block"); if (model.blocked) { block_button.add_css_class("error"); @@ -75,7 +75,7 @@ namespace Dino.Ui.ConversationDetails { private void update_notification_button() { string icon_name = model.notification == OFF ? - "notifications-disabled-symbolic" : "notification-symbolic"; + "dino-bell-large-none-symbolic" : "dino-bell-large-symbolic"; notification_button_toggle_content.icon_name = icon_name; notification_button_split_content.icon_name = icon_name; notification_button_menu_content.icon_name = icon_name; -- cgit v1.2.3-70-g09d2