From c5bc3455b1bfd2d643f31f66ec61f2098a4d3ba9 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 18 Feb 2021 18:37:25 -0500 Subject: add menus to dm channels + close/leave dm --- components/channels.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'components/channels.hpp') diff --git a/components/channels.hpp b/components/channels.hpp index 31c494c..8515d02 100644 --- a/components/channels.hpp +++ b/components/channels.hpp @@ -44,6 +44,10 @@ protected: StatusIndicator *m_status = nullptr; Gtk::TextView *m_lbl; Gtk::Image *m_icon = nullptr; + + Gtk::Menu m_menu; + Gtk::MenuItem *m_menu_close; // leave if group + Gtk::MenuItem *m_menu_copy_id; }; class ChannelListRowGuild : public ChannelListRow { -- cgit v1.2.3