diff --git a/dangerzone/gui/main_window.py b/dangerzone/gui/main_window.py index 7a4882fd8..64c843547 100644 --- a/dangerzone/gui/main_window.py +++ b/dangerzone/gui/main_window.py @@ -522,16 +522,14 @@ def state_change(self, state: str, error: str) -> None: self.buttons.show() elif state == "not_running": if platform.system() == "Linux": + # "not_running" here means that the `podman image ls` command failed. message = ( "Dangerzone requires Podman

" - "Podman is installed but isn't running.
" - "It could mean that it is not configured properly." + "Podman is installed but cannot run properly. See errors below" ) if error: - message += "

The following error was caught when trying to run podman image list" - - code_snippet = f"
{error.decode()}
" - self.error_text.setHtml(code_snippet) + code_snippet = f"{error.decode()}" + self.error_text.setPlainTextk(code_snippet) self.error_text.setVisible(True) self.label.setText(message)