summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2024-01-08 21:27:53 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2024-01-08 21:27:53 -0500
commit781bdc5d7a72cacb9d0ce6e2893dcbba04088417 (patch)
tree50fc2ff39311a4fa15763ad123dfbd3fcc8b2c00
parent1e6d16f44a07da92c35b19dadf6385c2868ab295 (diff)
downloadabaddon-portaudio-781bdc5d7a72cacb9d0ce6e2893dcbba04088417.tar.gz
abaddon-portaudio-781bdc5d7a72cacb9d0ce6e2893dcbba04088417.zip
add folder colors to symbol icon
-rw-r--r--src/components/channellist/classic/guildlistfolderitem.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/channellist/classic/guildlistfolderitem.cpp b/src/components/channellist/classic/guildlistfolderitem.cpp
index e60bd5f..f79227b 100644
--- a/src/components/channellist/classic/guildlistfolderitem.cpp
+++ b/src/components/channellist/classic/guildlistfolderitem.cpp
@@ -60,6 +60,9 @@ GuildListFolderItem::GuildListFolderItem(const UserSettingsGuildFoldersEntry &fo
m_icon.property_icon_name() = "folder-symbolic";
m_icon.property_icon_size() = Gtk::ICON_SIZE_DND;
+ if (folder.Color.has_value()) {
+ m_icon.override_color(IntToRGBA(*folder.Color));
+ }
m_icon.show();
m_stack.add(m_grid, "grid");