aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/terminal.vala
diff options
context:
space:
mode:
authorWolfgang Müller2021-06-19 15:48:28 +0200
committerWolfgang Müller2021-06-19 15:53:12 +0200
commit5987cb0575e0b1996578ae72aba90a15f80223db (patch)
treeebc1950a80a9e50669374996ba546e295b5addde /terminal.vala
parentddba80e644d1d47ce9aa6654879f035964ac19ac (diff)
downloadweltschmerz-5987cb0575e0b1996578ae72aba90a15f80223db.tar.gz
Clean up and slightly reorganize load_config()
Diffstat (limited to 'terminal.vala')
-rw-r--r--terminal.vala4
1 files changed, 1 insertions, 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);