From adc59f7df1acc94e76d32a14ee7970143d10a7c8 Mon Sep 17 00:00:00 2001 From: alfrix Date: Mon, 25 Sep 2023 08:31:47 -0300 Subject: [PATCH] change solarized warning to orange --- screen.py | 3 ++- styles/colorized/style.css | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/screen.py b/screen.py index 457ff16b..46184347 100755 --- a/screen.py +++ b/screen.py @@ -887,7 +887,8 @@ class KlipperScreen(Gtk.Window): for missing in server_info["missing_klippy_requirements"]: popup += f'[{missing}]\n' level = 3 - self.show_popup_message(popup, level) + if popup: + self.show_popup_message(popup, level) if "power" in server_info["components"]: powerdevs = self.apiclient.send_request("machine/device_power/devices") if powerdevs is not False: diff --git a/styles/colorized/style.css b/styles/colorized/style.css index 156f5c8a..832fe748 100644 --- a/styles/colorized/style.css +++ b/styles/colorized/style.css @@ -188,7 +188,7 @@ textview .time { } .message_popup_warning, .message_popup_warning button { - background-color: #b58900; /*solarazed-yellow*/ + background-color: #cb4b16; /*solarazed-orange*/ } .message_popup_error, .message_popup_error button {