diff options
author | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-10-06 17:50:45 +0100 |
---|---|---|
committer | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2024-10-06 17:50:45 +0100 |
commit | b6ff088fcaee86f1518bf0e77a478638af50aa32 (patch) | |
tree | 32c859c896038b3dc172c7ccbb6dde76933f6ca1 | |
parent | db10dc4fdd656b25442c63eb02ea30931eee300e (diff) |
fix various gtk errors when running from installed version
-rw-r--r-- | src/config.py | 8 | ||||
-rw-r--r-- | 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 @@ <property name="title" translatable="yes">Weegtk</property> <property name="default_width">800</property> <property name="default_height">576</property> - <!-- <property name="width-request">501</property> --> + <property name="width-request">400</property> + <property name="height-request">500</property> <child> <object class="AdwBreakpoint"> <condition>max-width: 560</condition> |