diff --git a/globalDisplayOptions.go b/globalDisplayOptions.go index 2f5ce3c..db9c983 100644 --- a/globalDisplayOptions.go +++ b/globalDisplayOptions.go @@ -26,20 +26,6 @@ func hideFunction(r *repolist.Repo) { r.Show() } -func hideFunction2(repo *repolist.Repo) { - if me.autoHideReadOnly.Checked() { - if repo.Status.ReadOnly() { - return - } - } - if me.autoHidePerfect.Checked() { - if repo.IsPerfect() { - return - } - } - repo.Show() -} - func globalDisplayOptions(vbox *gui.Node) { group1 := vbox.NewGroup("Global Display Options") @@ -60,13 +46,8 @@ func globalDisplayOptions(vbox *gui.Node) { me.autoHidePerfect = group1.NewCheckbox("Hide Perfectly clean repos").SetChecked(true) me.autoHidePerfect.Custom = func() { - if me.autoHidePerfect.Checked() { - me.repos.View.RegisterHideFunction(hideFunction) - me.repos.View.ScanRepositories() - } else { - me.repos.View.RegisterHideFunction(hideFunction2) - me.repos.View.ScanRepositories() - } + me.repos.View.RegisterHideFunction(hideFunction) + me.repos.View.ScanRepositories() } scanbox := group1.Box().Horizontal() me.autoScanReposCB = scanbox.NewCheckbox("auto scan").SetChecked(true) diff --git a/nohup.out b/nohup.out deleted file mode 100644 index e69de29..0000000