diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-12-10 00:15:39 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-12-10 00:15:39 -0500 |
commit | 0b0135268ec4684dfcdc0a5ae5c8da947bb17e12 (patch) | |
tree | 0128352b9c5fa8e0838531ffa87c64e68cc3f487 /src/components/channels.cpp | |
parent | 511fb445d15e379d4dd3b7fd137a249c960cf84d (diff) | |
download | abaddon-portaudio-0b0135268ec4684dfcdc0a5ae5c8da947bb17e12.tar.gz abaddon-portaudio-0b0135268ec4684dfcdc0a5ae5c8da947bb17e12.zip |
basic channel mentions count indicator
Diffstat (limited to 'src/components/channels.cpp')
-rw-r--r-- | src/components/channels.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/channels.cpp b/src/components/channels.cpp index d8fbde9..c83b5f8 100644 --- a/src/components/channels.cpp +++ b/src/components/channels.cpp @@ -176,6 +176,14 @@ ChannelList::ChannelList() discord.signal_message_ack().connect(sigc::mem_fun(*this, &ChannelList::OnMessageAck)); } +void ChannelList::UsePanedHack(Gtk::Paned& paned) { + paned.property_position().signal_changed().connect(sigc::mem_fun(*this, &ChannelList::OnPanedPositionChanged)); +} + +void ChannelList::OnPanedPositionChanged() { + m_view.queue_draw(); +} + void ChannelList::UpdateListing() { m_updating_listing = true; |