summaryrefslogtreecommitdiff
path: root/hideFunction.go
diff options
context:
space:
mode:
Diffstat (limited to 'hideFunction.go')
-rw-r--r--hideFunction.go23
1 files changed, 13 insertions, 10 deletions
diff --git a/hideFunction.go b/hideFunction.go
index 2feac4d..fcbbacf 100644
--- a/hideFunction.go
+++ b/hideFunction.go
@@ -4,15 +4,16 @@ import (
"os"
"go.wit.com/lib/gui/repolist"
- "go.wit.com/log"
)
// like tcl/tk, use ENV variables to set display preferences
func hideFunction(r *repolist.RepoRow) {
- if r.GoPath() == "go.wit.com/dev/alexflint/arg" {
- log.Info("found autoHideReleased() =", me.autoHideReleased.Checked())
- log.Info("found alexflint/arg IsReleased() =", r.Status.IsReleased())
- }
+ /*
+ if r.GoPath() == "go.wit.com/dev/alexflint/arg" {
+ log.Info("found autoHideReleased() =", me.autoHideReleased.Checked())
+ log.Info("found alexflint/arg IsReleased() =", r.Status.IsReleased())
+ }
+ */
// always show dirty repos
if r.Status.IsDirty() {
@@ -47,12 +48,14 @@ func hideFunction(r *repolist.RepoRow) {
}
}
- if me.autoHideReleased.Checked() {
- if r.Status.IsReleased() {
- r.Hide()
- return
+ /*
+ if me.autoHideReleased.Checked() {
+ if r.Status.IsReleased() {
+ r.Hide()
+ return
+ }
}
- }
+ */
// show everything else. often this will be "unconforming" repos
// if you what those repos ignored, add these to the config file