attempt hide, but it doesn't get to the plugin
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
3b14d5a124
commit
a85b161d64
|
@ -118,4 +118,27 @@ func globalBuildOptions(box *gui.Node) {
|
|||
repo.newScan()
|
||||
}
|
||||
})
|
||||
|
||||
groupvbox.NewButton("hide perfect", func () {
|
||||
for _, repo := range allrepos {
|
||||
if repo.dirtyLabel.GetText() == "PERFECT" {
|
||||
repo.hide()
|
||||
}
|
||||
return
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
func (r *repo) hide() {
|
||||
r.pLabel.Hide()
|
||||
r.lastTag.Hide()
|
||||
r.vLabel.Hide()
|
||||
|
||||
r.masterName.Hide()
|
||||
r.masterVersion.Hide()
|
||||
r.develName.Hide()
|
||||
r.develVersion.Hide()
|
||||
r.userName.Hide()
|
||||
r.userVersion.Hide()
|
||||
r.dirtyLabel.Hide()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue