Skip to content

Commit

Permalink
add icon to dm button in classic channels list
Browse files Browse the repository at this point in the history
  • Loading branch information
ouwou committed Jan 9, 2024
1 parent fe95335 commit 615f2c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/channellist/classic/guildlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 615f2c8

Please sign in to comment.