From b6ff088fcaee86f1518bf0e77a478638af50aa32 Mon Sep 17 00:00:00 2001 From: Lucas Fryzek Date: Sun, 6 Oct 2024 17:50:45 +0100 Subject: fix various gtk errors when running from installed version --- src/config.py | 8 ++++---- src/window.ui | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/config.py b/src/config.py index dc7d507..b5286fd 100644 --- a/src/config.py +++ b/src/config.py @@ -34,13 +34,13 @@ CONFIG_DEFAULT_RELAY_LINES = 50 CONFIG_DEFAULT_SECTIONS = ('relay', 'look', 'color', 'ssh', 'upload') CONFIG_DEFAULT_OPTIONS = (('relay.hostname', ''), - ('relay.port', 0), - ('relay.ssl', False), + ('relay.port', ''), + ('relay.ssl', "off"), ('relay.password', ''), - ('relay.autoconnect', False), + ('relay.autoconnect', "off"), ('relay.lines', str(CONFIG_DEFAULT_RELAY_LINES)), ('ssh.host', ''), - ('ssh.port', 0), + ('ssh.port', ''), ('ssh.username', ''), ('ssh.key', ''), ('upload.url', ''), diff --git a/src/window.ui b/src/window.ui index 54646e9..8aca68c 100644 --- a/src/window.ui +++ b/src/window.ui @@ -24,7 +24,8 @@ Weegtk 800 576 - + 400 + 500 max-width: 560 -- cgit