diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2024-01-09 00:57:50 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2024-01-09 00:57:50 -0500 |
commit | 615f2c80f1b0cfa7b72a08112ff4ef8ae23e5bf6 (patch) | |
tree | d4acf4302fc110816c6c718d2cd1a5596b387cb0 /src/components/channellist/classic | |
parent | fe95335d1245152bb23c6787b5d55ea5874fd78a (diff) | |
download | abaddon-portaudio-615f2c80f1b0cfa7b72a08112ff4ef8ae23e5bf6.tar.gz abaddon-portaudio-615f2c80f1b0cfa7b72a08112ff4ef8ae23e5bf6.zip |
add icon to dm button in classic channels list
Diffstat (limited to 'src/components/channellist/classic')
-rw-r--r-- | src/components/channellist/classic/guildlist.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/channellist/classic/guildlist.cpp b/src/components/channellist/classic/guildlist.cpp index ca7c96f..53ba1d7 100644 --- a/src/components/channellist/classic/guildlist.cpp +++ b/src/components/channellist/classic/guildlist.cpp @@ -4,7 +4,10 @@ class GuildListDMsButton : public Gtk::EventBox { public: GuildListDMsButton() { - m_img.property_pixbuf() = Abaddon::Get().GetImageManager().GetPlaceholder(48); + set_size_request(48, 48); + + m_img.property_icon_name() = "user-available-symbolic"; // meh + m_img.property_icon_size() = Gtk::ICON_SIZE_DND; add(m_img); show_all_children(); } |