summaryrefslogtreecommitdiff
path: root/components/channels.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'components/channels.hpp')
-rw-r--r--components/channels.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/components/channels.hpp b/components/channels.hpp
index b5f2ad9..d3df2d5 100644
--- a/components/channels.hpp
+++ b/components/channels.hpp
@@ -158,6 +158,7 @@ protected:
void OnRowCollapsed(const Gtk::TreeModel::iterator &iter, const Gtk::TreeModel::Path &path);
void OnRowExpanded(const Gtk::TreeModel::iterator &iter, const Gtk::TreeModel::Path &path);
bool SelectionFunc(const Glib::RefPtr<Gtk::TreeModel> &model, const Gtk::TreeModel::Path &path, bool is_currently_selected);
+ bool OnButtonPressEvent(GdkEventButton *ev);
Gtk::TreeModel::Path m_last_selected;
Gtk::TreeModel::Path m_dm_header;
@@ -166,6 +167,22 @@ protected:
void UpdateCreateDMChannel(const ChannelData &channel);
void OnMessageCreate(const Message &msg);
+ Gtk::TreeModel::Path m_path_for_menu;
+
+ Gtk::Menu m_menu_guild;
+ Gtk::MenuItem m_menu_guild_copy_id;
+ Gtk::MenuItem m_menu_guild_settings;
+ Gtk::MenuItem m_menu_guild_leave;
+
+ Gtk::Menu m_menu_category;
+ Gtk::MenuItem m_menu_category_copy_id;
+
+ Gtk::Menu m_menu_channel;
+ Gtk::MenuItem m_menu_channel_copy_id;
+
+ Gtk::Menu m_menu_dm;
+ Gtk::MenuItem m_menu_dm_copy_id;
+ Gtk::MenuItem m_menu_dm_close;
bool m_updating_listing = false;