From 52134524e92824cfb0a33414e93f35421dd62265 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Fri, 18 Jun 2021 19:40:47 +0200 Subject: Always hide the horizontal scrollbar Even though PolicyType.AUTOMATIC should always keep it hidden, be explicit about our wish to show it under no circumstances. --- terminal.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.vala b/terminal.vala index 93d2764..b9f96de 100644 --- a/terminal.vala +++ b/terminal.vala @@ -78,7 +78,7 @@ class Terminal : Gtk.Overlay { var conf = new Config(); Gtk.PolicyType policy = conf.scrollbar ? Gtk.PolicyType.AUTOMATIC : Gtk.PolicyType.NEVER; - scrolled_window.set_policy(policy, policy); + scrolled_window.set_policy(Gtk.PolicyType.NEVER, policy); vte.set_allow_hyperlink(conf.allow_hyperlinks); -- cgit v1.2.3-2-gb3c3