From 5987cb0575e0b1996578ae72aba90a15f80223db Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sat, 19 Jun 2021 15:48:28 +0200 Subject: Clean up and slightly reorganize load_config() --- terminal.vala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/terminal.vala b/terminal.vala index 58c77e9..d66fc51 100644 --- a/terminal.vala +++ b/terminal.vala @@ -97,10 +97,7 @@ class Terminal : Gtk.Overlay { scrolled_window.set_policy(Gtk.PolicyType.NEVER, get_scrollbar_policy(conf.scrollbar)); - vte.set_allow_hyperlink(conf.allow_hyperlinks); - vte.set_font(conf.font); - var char_width = (int)vte.get_char_width(); var char_height = (int)vte.get_char_height(); @@ -122,6 +119,7 @@ class Terminal : Gtk.Overlay { }; window.set_geometry_hints(null, geometry, BASE_SIZE | RESIZE_INC | MIN_SIZE); + vte.set_allow_hyperlink(conf.allow_hyperlinks); vte.set_mouse_autohide(conf.autohide_mouse); vte.set_scrollback_lines(conf.scrollback); vte.set_cursor_shape(conf.cursor_shape); -- cgit v1.2.3-2-gb3c3