diff options
| author | Jeff Carr <[email protected]> | 2024-01-07 10:38:17 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-07 10:38:17 -0600 |
| commit | ef6eb7a96aa4aee7c16ba5e7320bde4ffd79acc0 (patch) | |
| tree | bba27c349418d5d799d86fdbadcf275327e08c26 /main.go | |
| parent | 259b4bdb408fd234cf1c76f94463a85d87fdadb6 (diff) | |
error window v0.1
error box starts doing something
start a window for errors to fix
more status cleanups & housecleaning
Signed-off-by: Jeff Carr <[email protected]>
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -157,9 +157,17 @@ func dnsTTL() { } // run update on the LinuxStatus() window +// also update a few things on the main window func linuxLoop() { me.statusOS.Update() + if me.statusOS.ValidHostname() { + if me.hostnameStatus.GetText() != "VALID" { + me.hostnameStatus.Set("VALID") + me.changed = true + } + } + if (me.statusOS.Changed()) { stamp := time.Now().Format("2006/01/02 15:04:05") log.Log(CHANGE, "Network things changed on", stamp) |
