summaryrefslogtreecommitdiff
path: root/repolist.go
diff options
context:
space:
mode:
Diffstat (limited to 'repolist.go')
-rw-r--r--repolist.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/repolist.go b/repolist.go
index 15b2728..2021aa7 100644
--- a/repolist.go
+++ b/repolist.go
@@ -43,8 +43,6 @@ func myrepolist() []string {
func (r *repo) Hide() {
r.pLabel.Hide()
- r.pButton.Hide()
- r.cButton.Hide()
r.lastTag.Hide()
r.vLabel.Hide()
@@ -53,14 +51,12 @@ func (r *repo) Hide() {
r.userVersion.Hide()
r.dirtyLabel.Hide()
- r.showButton.Hide()
+ r.statusButton.Hide()
r.hidden = true
}
func (r *repo) Show() {
r.pLabel.Show()
- r.pButton.Show()
- r.cButton.Show()
r.lastTag.Show()
r.vLabel.Show()
@@ -69,6 +65,6 @@ func (r *repo) Show() {
r.userVersion.Show()
r.dirtyLabel.Show()
- r.showButton.Show()
+ r.statusButton.Show()
r.hidden = false
}