diff options
| author | Jeff Carr <[email protected]> | 2025-09-03 19:22:49 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-03 19:22:49 -0500 |
| commit | aea7f168911df8a91357270a0eab84c4b5ff1174 (patch) | |
| tree | 18d0ca1c01b71b3a5568b52f8fec1b2612d9cb72 /doGui.go | |
| parent | 6f4ec05ccb6875aa23e3601c18973ac1759fb456 (diff) | |
dump more code cruft
Diffstat (limited to 'doGui.go')
| -rw-r--r-- | doGui.go | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -48,19 +48,17 @@ func debug() { me.repoWritableB.SetLabel(tmp) } - doCheckDirtyAndConfigSave() - found := me.forge.FindDirty() - dirty := found.Len() + dirty := me.forge.CheckDirty() if me.repoDirtyB != nil { - tmp := fmt.Sprintf("dirty (%d)", dirty) + tmp := fmt.Sprintf("dirty (%d)", dirty.Len()) me.repoDirtyB.SetLabel(tmp) } if me.reposWinB != nil { tmp := fmt.Sprintf("Repos (%d)", me.forge.Repos.Len()) - if dirty > 0 { - tmp = fmt.Sprintf("Repos (%d) (%d dirty)", me.forge.Repos.Len(), dirty) + if dirty.Len() > 0 { + tmp = fmt.Sprintf("Repos (%d) (%d dirty)", me.forge.Repos.Len(), dirty.Len()) } me.reposWinB.SetLabel(tmp) } |
