diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2024-01-08 21:27:53 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2024-01-08 21:27:53 -0500 |
commit | 781bdc5d7a72cacb9d0ce6e2893dcbba04088417 (patch) | |
tree | 50fc2ff39311a4fa15763ad123dfbd3fcc8b2c00 /src/components/channellist | |
parent | 1e6d16f44a07da92c35b19dadf6385c2868ab295 (diff) | |
download | abaddon-portaudio-781bdc5d7a72cacb9d0ce6e2893dcbba04088417.tar.gz abaddon-portaudio-781bdc5d7a72cacb9d0ce6e2893dcbba04088417.zip |
add folder colors to symbol icon
Diffstat (limited to 'src/components/channellist')
-rw-r--r-- | src/components/channellist/classic/guildlistfolderitem.cpp | 3 |
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"); |