diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2024-01-21 16:27:42 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2024-01-21 16:27:42 -0500 |
commit | 1d1bd7e3454b58ddf3b4d803bff8e9ed24ee4a22 (patch) | |
tree | af82eeb5b241d8e8623614d450159a82c66a43d9 /src/components | |
parent | d7bee05ee92bf14c1344d336cfa5398815e8ccc9 (diff) | |
download | abaddon-portaudio-1d1bd7e3454b58ddf3b4d803bff8e9ed24ee4a22.tar.gz abaddon-portaudio-1d1bd7e3454b58ddf3b4d803bff8e9ed24ee4a22.zip |
Revert "add settings for channel list scrollbar policies"
This reverts commit d7bee05ee92bf14c1344d336cfa5398815e8ccc9.
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/channellist/channellist.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/channellist/channellist.cpp b/src/components/channellist/channellist.cpp index 2bb2f11..1cdf619 100644 --- a/src/components/channellist/channellist.cpp +++ b/src/components/channellist/channellist.cpp @@ -1,15 +1,13 @@ #include "channellist.hpp" #include "abaddon.hpp" -#include "util.hpp" ChannelList::ChannelList() { ConnectSignals(); m_guilds.set_halign(Gtk::ALIGN_START); - m_guilds_scroll.set_policy(Gtk::POLICY_NEVER, util::TranslateScrollPolicy(Abaddon::Get().GetSettings().ClassicGuildScrollPolicy)); - m_tree.set_policy(Gtk::POLICY_AUTOMATIC, util::TranslateScrollPolicy(Abaddon::Get().GetSettings().ClassicChannelScrollPolicy)); + m_guilds_scroll.set_policy(Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC); m_guilds.signal_guild_selected().connect([this](Snowflake guild_id) { m_tree.SetSelectedGuild(guild_id); |