From 389427cf0fa16ea1041faebe4d0509680b311034 Mon Sep 17 00:00:00 2001 From: piotr Date: Wed, 8 Feb 2023 00:37:48 +0100 Subject: [PATCH] set update-indicator off by default --- nwg_shell_config/main.py | 2 +- nwg_shell_config/ui_components.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nwg_shell_config/main.py b/nwg_shell_config/main.py index cf444aa..c145928 100644 --- a/nwg_shell_config/main.py +++ b/nwg_shell_config/main.py @@ -890,7 +890,7 @@ def load_settings(): "gtklock-time-format": "%H:%M:%S", "gtklock-userinfo": False, "gtklock-userswitch-command": "", - "update-indicator-on": True, + "update-indicator-on": False, "update-indicator-interval": 30, "update-command": "nwg-system-update" } diff --git a/nwg_shell_config/ui_components.py b/nwg_shell_config/ui_components.py index 129995b..4127912 100644 --- a/nwg_shell_config/ui_components.py +++ b/nwg_shell_config/ui_components.py @@ -402,6 +402,8 @@ def screen_tab(settings, voc, pending_updates): entry_update_cmd.connect("changed", validate_update_cmd, cb_update_indicator_on, sb_update_indicator_interval, settings) box.pack_start(entry_update_cmd, False, False, 0) + else: + settings["update-indicator-on"] = False frame.show_all()