From 1d1bd7e3454b58ddf3b4d803bff8e9ed24ee4a22 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sun, 21 Jan 2024 16:27:42 -0500 Subject: Revert "add settings for channel list scrollbar policies" This reverts commit d7bee05ee92bf14c1344d336cfa5398815e8ccc9. --- src/components/channellist/channellist.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/components') 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); -- cgit v1.2.3