aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/terminal.vala
diff options
context:
space:
mode:
authorWolfgang Müller2021-06-18 19:40:47 +0200
committerWolfgang Müller2021-06-19 15:53:07 +0200
commit52134524e92824cfb0a33414e93f35421dd62265 (patch)
tree5ca5593fde0e212ed82946a9ba78e564571e5014 /terminal.vala
parent701acd04c7cc684109c88521cea93bdc84405752 (diff)
downloadweltschmerz-52134524e92824cfb0a33414e93f35421dd62265.tar.gz
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.
Diffstat (limited to '')
-rw-r--r--terminal.vala2
1 files changed, 1 insertions, 1 deletions
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);