mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
add icon to dm button in classic channels list
This commit is contained in:
1 parent
fe95335d12
commit
615f2c80f1
1 file changed
+4
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user