summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--globalDisplayOptions.go2
-rw-r--r--structs.go1
2 files changed, 3 insertions, 0 deletions
diff --git a/globalDisplayOptions.go b/globalDisplayOptions.go
index 2f957cc..b8ecc19 100644
--- a/globalDisplayOptions.go
+++ b/globalDisplayOptions.go
@@ -44,6 +44,8 @@ func globalDisplayOptions(box *gui.Node) {
})
*/
+ me.autoHideReadOnly = group1.NewCheckbox("Hide read-only repos").SetChecked(true)
+
me.autoHidePerfect = group1.NewCheckbox("Hide Perfectly clean repos").SetChecked(false)
me.autoHidePerfect.Custom = func() {
if me.autoHidePerfect.Checked() {
diff --git a/structs.go b/structs.go
index 760ee2e..f60683b 100644
--- a/structs.go
+++ b/structs.go
@@ -23,6 +23,7 @@ type autoType struct {
// #### autotypist Global Display Options
autoHidePerfect *gui.Node
+ autoHideReadOnly *gui.Node
// #### autotypist Global Build Options
// what to change all the branches to