summaryrefslogtreecommitdiff
path: root/components/channels.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'components/channels.hpp')
-rw-r--r--components/channels.hpp18
1 files changed, 3 insertions, 15 deletions
diff --git a/components/channels.hpp b/components/channels.hpp
index 8515d02..08b69fa 100644
--- a/components/channels.hpp
+++ b/components/channels.hpp
@@ -14,7 +14,7 @@ class ChannelListRow : public Gtk::ListBoxRow {
public:
bool IsUserCollapsed;
Snowflake ID;
- std::unordered_set<ChannelListRow *> Children;
+ std::vector<ChannelListRow *> Children;
ChannelListRow *Parent = nullptr;
virtual void Collapse();
@@ -111,21 +111,9 @@ class ChannelListRowChannel : public ChannelListRow {
public:
ChannelListRowChannel(const ChannelData *data);
-protected:
- Gtk::EventBox *m_ev;
- Gtk::Box *m_box;
- Gtk::TextView *m_lbl;
-
- Gtk::Menu m_menu;
- Gtk::MenuItem *m_menu_copyid;
-
private:
- typedef sigc::signal<void> type_signal_copy_id;
-
- type_signal_copy_id m_signal_copy_id;
-
-public:
- type_signal_copy_id signal_copy_id();
+ static Gtk::Menu *m_menu;
+ static bool m_menu_init;
};
class ChannelList {